swapped to java 11

This commit is contained in:
Ryan
2022-04-17 12:54:32 +00:00
parent c50d51c22a
commit af82267652
2 changed files with 6 additions and 6 deletions
+2 -2
View File
@@ -11,7 +11,7 @@ compileJava {
compileKotlin {
kotlinOptions {
jvmTarget = JavaVersion.VERSION_1_8
jvmTarget = JavaVersion.VERSION_11
freeCompilerArgs += '-XXLanguage:-NewInference'
}
}
@@ -47,4 +47,4 @@ jar {
attributes 'Main-Class': 'rs09.Server'
}
from { configurations.compileClasspath.collect { it.isDirectory() ? it : zipTree(it) } }
}
}