Skip to content

Commit

Permalink
Fix publishing of atomicfu transitive dependency on native
Browse files Browse the repository at this point in the history
  • Loading branch information
erikc5000 committed May 20, 2020
1 parent afea820 commit f4eb275
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 2 deletions.
2 changes: 1 addition & 1 deletion build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ buildscript {
}

dependencies {
classpath(Libs.atomicfu)
classpath(Libs.AtomicFU.gradlePlugin)
}
}

Expand Down
5 changes: 4 additions & 1 deletion buildSrc/src/main/kotlin/Dependencies.kt
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,10 @@ object Libs {
const val native = "org.jetbrains.kotlinx:kotlinx-serialization-runtime-native:${Versions.serialization}"
}

const val atomicfu = "org.jetbrains.kotlinx:atomicfu-gradle-plugin:${Versions.atomicfu}"
object AtomicFU {
const val gradlePlugin = "org.jetbrains.kotlinx:atomicfu-gradle-plugin:${Versions.atomicfu}"
const val native = "org.jetbrains.kotlinx:atomicfu-native:${Versions.atomicfu}"
}

object AndroidxTest {
const val runner = "androidx.test:runner:${Versions.androidxTest}"
Expand Down
1 change: 1 addition & 0 deletions core/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,7 @@ kotlin {
val darwinMain by getting {
dependencies {
implementation(Libs.statelyIsolate)
implementation(Libs.AtomicFU.native)
}
}
}
Expand Down

0 comments on commit f4eb275

Please sign in to comment.