Skip to content

Commit 9e17c7e

Browse files
committed
feat: improve Java compatibility
1 parent 652a307 commit 9e17c7e

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

kotlin-json-patch/build.gradle.kts

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -10,18 +10,18 @@ group = "io.github.reidsync"
1010
version = "1.0.0"
1111

1212
kotlin {
13-
androidTarget {
14-
compilations.all {
15-
compilerOptions.configure {
16-
jvmTarget.set(org.jetbrains.kotlin.gradle.dsl.JvmTarget.JVM_1_8)
17-
}
18-
}
13+
jvmToolchain(8)
14+
1915
@OptIn(ExperimentalWasmDsl::class)
2016
wasmJs {
2117
browser()
2218
nodejs()
2319
}
24-
20+
21+
androidTarget {
22+
compilerOptions {
23+
jvmTarget.set(org.jetbrains.kotlin.gradle.dsl.JvmTarget.JVM_1_8)
24+
}
2525
publishLibraryVariants("release", "debug")
2626
}
2727

0 commit comments

Comments
 (0)