Skip to content

Commit c3bdac1

Browse files
Merge pull request #113 from snappdevelopment/fix-atomicfu-android
Fix missing classes of atomicfu plugin
2 parents ffa75d9 + 44cdb4c commit c3bdac1

File tree

5 files changed

+7
-11
lines changed

5 files changed

+7
-11
lines changed

build.gradle.kts

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,6 @@ buildscript {
44
repositories {
55
mavenCentral()
66
}
7-
dependencies {
8-
classpath(libs.atomicfu)
9-
}
107
}
118

129
plugins {

gradle.properties

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ SONATYPE_HOST=S01
3333
RELEASE_SIGNING_ENABLED=true
3434

3535
GROUP=com.sebastianneubauer.jsontree
36-
VERSION_NAME=2.4.0
36+
VERSION_NAME=2.4.1
3737

3838
POM_INCEPTION_YEAR=2023
3939
POM_URL=https://github.com/snappdevelopment/JsonTree

gradle/libs.versions.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ agp = "8.5.2"
99
kotlin = "2.0.20"
1010
publish = "0.29.0"
1111
api-validator = "0.16.3"
12-
atomicfu = "0.25.0"
12+
atomicfu = "0.26.1"
1313
androidx-activity-compose = "1.9.2"
1414
kotlinx-serialization-json = "1.7.3"
1515
kotlinx-coroutines = "1.9.0"
@@ -25,7 +25,7 @@ kotlinx-coroutines-swing = { module = "org.jetbrains.kotlinx:kotlinx-coroutines-
2525
kotlinx-coroutines-test = { module = "org.jetbrains.kotlinx:kotlinx-coroutines-test", version.ref = "kotlinx-coroutines" }
2626

2727
detekt-formatting = { module = "io.gitlab.arturbosch.detekt:detekt-formatting", version.ref = "detekt" }
28-
atomicfu = { module = "org.jetbrains.kotlinx:atomicfu-gradle-plugin", version.ref = "atomicfu" }
28+
atomicfu = { module = "org.jetbrains.kotlinx:atomicfu", version.ref = "atomicfu" }
2929

3030
[plugins]
3131
android-library = { id = "com.android.library", version.ref = "agp" }

jsontree/build.gradle.kts

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,9 @@ kotlin {
5656
implementation(compose.components.resources)
5757
implementation(compose.components.uiToolingPreview)
5858
implementation(libs.kotlinx.coroutines.core)
59-
implementation (libs.kotlinx.serialization.json)
59+
implementation(libs.kotlinx.serialization.json)
60+
// needs to be added as a workaround not get atomicfus code stripped
61+
implementation(libs.atomicfu)
6062
}
6163
}
6264

sample/build.gradle.kts

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -93,6 +93,7 @@ kotlin {
9393
compilations["main"].compilerOptions.options.freeCompilerArgs.add("-Xexport-kdoc")
9494
}
9595

96+
jvmToolchain(17)
9697
}
9798

9899
android {
@@ -107,10 +108,6 @@ android {
107108
manifest.srcFile("src/androidMain/AndroidManifest.xml")
108109
res.srcDirs("src/androidMain/res")
109110
}
110-
compileOptions {
111-
sourceCompatibility = JavaVersion.VERSION_17
112-
targetCompatibility = JavaVersion.VERSION_17
113-
}
114111
buildTypes {
115112
getByName("release") {
116113
isMinifyEnabled = true

0 commit comments

Comments
 (0)