File tree Expand file tree Collapse file tree 5 files changed +7
-11
lines changed Expand file tree Collapse file tree 5 files changed +7
-11
lines changed Original file line number Diff line number Diff line change @@ -4,9 +4,6 @@ buildscript {
44 repositories {
55 mavenCentral()
66 }
7- dependencies {
8- classpath(libs.atomicfu)
9- }
107}
118
129plugins {
Original file line number Diff line number Diff line change @@ -33,7 +33,7 @@ SONATYPE_HOST=S01
3333RELEASE_SIGNING_ENABLED =true
3434
3535GROUP =com.sebastianneubauer.jsontree
36- VERSION_NAME =2.4.0
36+ VERSION_NAME =2.4.1
3737
3838POM_INCEPTION_YEAR =2023
3939POM_URL =https://github.com/snappdevelopment/JsonTree
Original file line number Diff line number Diff line change @@ -9,7 +9,7 @@ agp = "8.5.2"
99kotlin = " 2.0.20"
1010publish = " 0.29.0"
1111api-validator = " 0.16.3"
12- atomicfu = " 0.25.0 "
12+ atomicfu = " 0.26.1 "
1313androidx-activity-compose = " 1.9.2"
1414kotlinx-serialization-json = " 1.7.3"
1515kotlinx-coroutines = " 1.9.0"
@@ -25,7 +25,7 @@ kotlinx-coroutines-swing = { module = "org.jetbrains.kotlinx:kotlinx-coroutines-
2525kotlinx-coroutines-test = { module = " org.jetbrains.kotlinx:kotlinx-coroutines-test" , version.ref = " kotlinx-coroutines" }
2626
2727detekt-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 ]
3131android-library = { id = " com.android.library" , version.ref = " agp" }
Original file line number Diff line number Diff 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
Original file line number Diff line number Diff line change @@ -93,6 +93,7 @@ kotlin {
9393 compilations[" main" ].compilerOptions.options.freeCompilerArgs.add(" -Xexport-kdoc" )
9494 }
9595
96+ jvmToolchain(17 )
9697}
9798
9899android {
@@ -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
You can’t perform that action at this time.
0 commit comments