Velocity 3.3.0 wants JDK 17, not 11.

This commit is contained in:
Kichura 2024-01-19 23:57:54 +01:00 committed by GitHub
parent 2be372c19d
commit e7dedd9aba
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -29,14 +29,14 @@ application {
java {
toolchain {
languageVersion.set(JavaLanguageVersion.of(11))
languageVersion.set(JavaLanguageVersion.of(17))
vendor.set(JvmVendorSpec.ADOPTIUM)
}
withSourcesJar()
}
val compileKotlin: KotlinCompile by tasks
compileKotlin.kotlinOptions.jvmTarget = "11"
compileKotlin.kotlinOptions.jvmTarget = "17"
val gitVersion: groovy.lang.Closure<String> by extra