Open tanmatra opened 4 years ago
using apply is also okey.
buildscript {
dependencies {
classpath("org.jetbrains.kotlinx:atomicfu-gradle-plugin:0.14.4")
}
}
apply(plugin = "kotlinx-atomicfu")
I think this should be enough. It also uses more resent Gradle API.
plugins {
kotlin("jvm") version "1.8.10"
id("org.jetbrains.kotlin.plugin.atomicfu") version "1.8.10"
}
repositories {
mavenCentral()
}
dependencies {
implementation("org.jetbrains.kotlinx:atomicfu:0.20.0")
}
I think this should be enough.
I need to wait #205 being merged, or at minimal #74 is needed.
I'm not a Gradle expert, but after a few attempts, I found out that this example just works. Improvements are welcome.
atomicfu-example.zip