Skip to content

Commit

Permalink
gradle: set android JVM to 11
Browse files Browse the repository at this point in the history
  • Loading branch information
LeHaine committed Oct 27, 2023
1 parent eacf99e commit 341cc0f
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 1 deletion.
4 changes: 4 additions & 0 deletions core/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -144,4 +144,8 @@ android {
minSdk = (findProperty("android.minSdk") as String).toInt()
targetSdk = (findProperty("android.targetSdk") as String).toInt()
}
compileOptions {
sourceCompatibility = JavaVersion.VERSION_11
targetCompatibility = JavaVersion.VERSION_11
}
}
6 changes: 5 additions & 1 deletion samples/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ repositories {


kotlin {
android()
androidTarget()
jvm {
compilations {
val main by getting
Expand Down Expand Up @@ -130,4 +130,8 @@ android {
minSdk = (findProperty("android.minSdk") as String).toInt()
targetSdk = (findProperty("android.targetSdk") as String).toInt()
}
compileOptions {
sourceCompatibility = JavaVersion.VERSION_11
targetCompatibility = JavaVersion.VERSION_11
}
}

0 comments on commit 341cc0f

Please sign in to comment.