Set Java language version to 17

This commit is contained in:
Erik C. Thauvin 2025-04-25 20:56:59 -07:00
parent 36422cbf45
commit 18582f89c3
Signed by: erik
GPG key ID: 776702A6A2DA330E

View file

@ -27,13 +27,19 @@ repositories {
mavenCentral() mavenCentral()
} }
java {
toolchain {
languageVersion.set(JavaLanguageVersion.of(17))
}
}
application { application {
mainClass.set("com.example.Main") mainClass.set("com.example.Main")
} }
kapt { kapt {
arguments { arguments {
arg("semver.project.dir", projectDir) arg("semver.project.dir", projectDir.absolutePath)
} }
} }