File tree Expand file tree Collapse file tree 6 files changed +15
-4
lines changed Expand file tree Collapse file tree 6 files changed +15
-4
lines changed Original file line number Diff line number Diff line change @@ -22,7 +22,7 @@ buildscript {
2222 classpath(" org.jetbrains.kotlinx:kover:${Version .kover} " )
2323 classpath(" com.squareup.anvil:gradle-plugin:${Version .anvilGradlePlugin} " )
2424 classpath(" com.squareup.sqldelight:gradle-plugin:${Version .sqlDelightGradlePlugin} " )
25- classpath(" org.jetbrains.kotlinx:atomicfu-gradle-plugin:${Version .atomicFuGradlePlugin } " )
25+ classpath(" org.jetbrains.kotlinx:atomicfu-gradle-plugin:${Version .atomicFu } " )
2626 }
2727}
2828
Original file line number Diff line number Diff line change @@ -33,6 +33,7 @@ object Deps {
3333 }
3434
3535 object Kotlinx {
36+ const val atomicFu = " org.jetbrains.kotlinx:atomicfu:${Version .atomicFu} "
3637 const val stdLib = " org.jetbrains.kotlin:kotlin-stdlib:${Version .baseKotlin} "
3738 const val serializationCore = " org.jetbrains.kotlinx:kotlinx-serialization-core:${Version .kotlinxSerialization} "
3839 const val serializationJson = " org.jetbrains.kotlinx:kotlinx-serialization-json:${Version .kotlinxSerialization} "
Original file line number Diff line number Diff line change @@ -5,7 +5,7 @@ object Version {
55 const val androidGradlePlugin = " 7.2.2"
66 const val androidTargetSdk = androidCompileSdk
77 const val anvilGradlePlugin = " 2.4.2"
8- const val atomicFuGradlePlugin = " 0.18.5"
8+ const val atomicFu = " 0.18.5"
99 const val baseKotlin = " 1.7.21"
1010 const val binaryCompatibilityValidator = " 0.12.1"
1111 const val composeAndroidX = " 1.3.0-beta02"
Original file line number Diff line number Diff line change @@ -40,7 +40,13 @@ kotlin {
4040 }
4141 }
4242
43- val commonMain by getting
43+ val commonMain by getting {
44+ dependencies {
45+ with (Deps .Kotlinx ) {
46+ api(atomicFu)
47+ }
48+ }
49+ }
4450 val jvmMain by getting
4551 val androidMain by getting
4652 val nativeMain by creating {
Original file line number Diff line number Diff line change @@ -42,7 +42,10 @@ kotlin {
4242
4343 val commonMain by getting {
4444 dependencies {
45- implementation(Deps .Kotlinx .coroutinesCore)
45+ with (Deps .Kotlinx ) {
46+ api(atomicFu)
47+ implementation(coroutinesCore)
48+ }
4649 }
4750 }
4851 val jvmMain by getting
Original file line number Diff line number Diff line change @@ -47,6 +47,7 @@ kotlin {
4747 implementation(coroutinesCore)
4848 implementation(serializationCore)
4949 implementation(dateTime)
50+ api(atomicFu)
5051 }
5152 implementation(Deps .Touchlab .kermit)
5253 implementation(project(" :multicast" ))
You can’t perform that action at this time.
0 commit comments