Skip to content

Commit e66e5ab

Browse files
committed
Fix JVM target compatibility issue
1 parent b31125e commit e66e5ab

1 file changed

Lines changed: 6 additions & 0 deletions

File tree

chartLib/build.gradle.kts

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
import info.git.versionHelper.getVersionText
2+
import org.jetbrains.kotlin.gradle.dsl.JvmTarget
23
import java.net.URI
34

45
plugins {
@@ -24,6 +25,11 @@ android {
2425
sourceCompatibility = JavaVersion.VERSION_17
2526
targetCompatibility = JavaVersion.VERSION_17
2627
}
28+
kotlin {
29+
compilerOptions {
30+
jvmTarget = JvmTarget.JVM_17
31+
}
32+
}
2733
buildTypes {
2834
release {
2935
isMinifyEnabled = false

0 commit comments

Comments
 (0)