Expose AtomicFU (#505)
Signed-off-by: mramotar <mramotar@dropbox.com> Signed-off-by: mramotar <mramotar@dropbox.com>
This commit is contained in:
parent
01cfe83ea6
commit
5eff430629
6 changed files with 15 additions and 4 deletions
|
@ -22,7 +22,7 @@ buildscript {
|
|||
classpath("org.jetbrains.kotlinx:kover:${Version.kover}")
|
||||
classpath("com.squareup.anvil:gradle-plugin:${Version.anvilGradlePlugin}")
|
||||
classpath("com.squareup.sqldelight:gradle-plugin:${Version.sqlDelightGradlePlugin}")
|
||||
classpath("org.jetbrains.kotlinx:atomicfu-gradle-plugin:${Version.atomicFuGradlePlugin}")
|
||||
classpath("org.jetbrains.kotlinx:atomicfu-gradle-plugin:${Version.atomicFu}")
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
@ -33,6 +33,7 @@ object Deps {
|
|||
}
|
||||
|
||||
object Kotlinx {
|
||||
const val atomicFu = "org.jetbrains.kotlinx:atomicfu:${Version.atomicFu}"
|
||||
const val stdLib = "org.jetbrains.kotlin:kotlin-stdlib:${Version.baseKotlin}"
|
||||
const val serializationCore = "org.jetbrains.kotlinx:kotlinx-serialization-core:${Version.kotlinxSerialization}"
|
||||
const val serializationJson = "org.jetbrains.kotlinx:kotlinx-serialization-json:${Version.kotlinxSerialization}"
|
||||
|
|
|
@ -5,7 +5,7 @@ object Version {
|
|||
const val androidGradlePlugin = "7.2.2"
|
||||
const val androidTargetSdk = androidCompileSdk
|
||||
const val anvilGradlePlugin = "2.4.2"
|
||||
const val atomicFuGradlePlugin = "0.18.5"
|
||||
const val atomicFu = "0.18.5"
|
||||
const val baseKotlin = "1.7.21"
|
||||
const val binaryCompatibilityValidator = "0.12.1"
|
||||
const val composeAndroidX = "1.3.0-beta02"
|
||||
|
|
8
cache/build.gradle.kts
vendored
8
cache/build.gradle.kts
vendored
|
@ -40,7 +40,13 @@ kotlin {
|
|||
}
|
||||
}
|
||||
|
||||
val commonMain by getting
|
||||
val commonMain by getting {
|
||||
dependencies {
|
||||
with(Deps.Kotlinx) {
|
||||
api(atomicFu)
|
||||
}
|
||||
}
|
||||
}
|
||||
val jvmMain by getting
|
||||
val androidMain by getting
|
||||
val nativeMain by creating {
|
||||
|
|
|
@ -42,7 +42,10 @@ kotlin {
|
|||
|
||||
val commonMain by getting {
|
||||
dependencies {
|
||||
implementation(Deps.Kotlinx.coroutinesCore)
|
||||
with(Deps.Kotlinx) {
|
||||
api(atomicFu)
|
||||
implementation(coroutinesCore)
|
||||
}
|
||||
}
|
||||
}
|
||||
val jvmMain by getting
|
||||
|
|
|
@ -47,6 +47,7 @@ kotlin {
|
|||
implementation(coroutinesCore)
|
||||
implementation(serializationCore)
|
||||
implementation(dateTime)
|
||||
api(atomicFu)
|
||||
}
|
||||
implementation(Deps.Touchlab.kermit)
|
||||
implementation(project(":multicast"))
|
||||
|
|
Loading…
Reference in a new issue