Skip to content

Commit

Permalink
Add clarification about Atomicfu plugin
Browse files Browse the repository at this point in the history
  • Loading branch information
JavierSegoviaCordoba committed Sep 2, 2024
1 parent 4ab84de commit bdc2dd6
Showing 1 changed file with 11 additions and 1 deletion.
12 changes: 11 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,17 @@ Apply the plugin in the `build.gradle.kts` or `build.gradle`:

```kotlin
plugins {
id("com.javiersc.kotlin.kopy") version "$version"
id("com.javiersc.kotlin.kopy") version "$kopyVersion"
}
```

As the plugin uses under the hood the Atomicfu library, the performance can be improved by
applying the Atomicfu plugin, **it is important to apply the Kopy plugin before the Atomicfu one**.

```kotlin
plugins {
id("com.javiersc.kotlin.kopy") version "$kopyVersion"
id("org.jetbrains.kotlin.plugin.atomicfu") version "$kotlinVersion"
}
```

Expand Down

0 comments on commit bdc2dd6

Please sign in to comment.