mirror of
https://github.com/ViaVersion/VIAaaS.git
synced 2024-11-21 11:55:15 +01:00
Velocity 3.3.0 wants JDK 17, not 11.
This commit is contained in:
parent
2be372c19d
commit
e7dedd9aba
@ -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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user