Set JVM compatibility to version 17
This commit is contained in:
parent
03c749de68
commit
78a35dea31
1 changed files with 7 additions and 2 deletions
|
@ -31,8 +31,13 @@ repositories {
|
||||||
}
|
}
|
||||||
|
|
||||||
java {
|
java {
|
||||||
toolchain {
|
sourceCompatibility = JavaVersion.VERSION_17
|
||||||
languageVersion.set(JavaLanguageVersion.of(17))
|
targetCompatibility = JavaVersion.VERSION_17
|
||||||
|
}
|
||||||
|
|
||||||
|
kotlin {
|
||||||
|
compilerOptions {
|
||||||
|
jvmTarget.set(JvmTarget.JVM_17)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue