Skip to content
This repository was archived by the owner on Mar 26, 2026. It is now read-only.

Commit e9fb25e

Browse files
committed
Update build.gradle.kts
1 parent 7915fae commit e9fb25e

1 file changed

Lines changed: 8 additions & 10 deletions

File tree

‎gemstone/build.gradle.kts‎

Lines changed: 8 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -32,8 +32,8 @@ android {
3232
}
3333

3434
compileOptions {
35-
sourceCompatibility = JavaVersion.VERSION_1_8
36-
targetCompatibility = JavaVersion.VERSION_1_8
35+
sourceCompatibility = JavaVersion.VERSION_17
36+
targetCompatibility = JavaVersion.VERSION_17
3737
}
3838

3939
sourceSets {
@@ -50,7 +50,7 @@ android {
5050

5151
kotlin {
5252
compilerOptions {
53-
jvmTarget.set(JvmTarget.JVM_1_8)
53+
jvmTarget.set(JvmTarget.JVM_17)
5454
}
5555
}
5656

@@ -81,13 +81,11 @@ val buildCargoNdk = tasks.register<Exec>("buildCargoNdk") {
8181
)
8282
}
8383

84-
afterEvaluate {
85-
tasks.matching { it.name.matches(Regex("compile(Debug|Release)Kotlin")) }.configureEach {
86-
dependsOn(bindgenKotlin)
87-
}
88-
tasks.matching { it.name.matches(Regex("merge(Debug|Release)JniLibFolders")) }.configureEach {
89-
dependsOn(buildCargoNdk)
90-
}
84+
tasks.matching { it.name.matches(Regex("compile(Debug|Release)Kotlin")) }.configureEach {
85+
dependsOn(bindgenKotlin)
86+
}
87+
tasks.matching { it.name.matches(Regex("merge(Debug|Release)JniLibFolders")) }.configureEach {
88+
dependsOn(buildCargoNdk)
9189
}
9290

9391
dependencies {

0 commit comments

Comments
 (0)