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 { compileKotlin {
kotlinOptions { kotlinOptions {
jvmTarget = JavaVersion.VERSION_1_8 jvmTarget = JavaVersion.VERSION_11
freeCompilerArgs += '-XXLanguage:-NewInference' freeCompilerArgs += '-XXLanguage:-NewInference'
} }
} }
@@ -47,4 +47,4 @@ jar {
attributes 'Main-Class': 'rs09.Server' attributes 'Main-Class': 'rs09.Server'
} }
from { configurations.compileClasspath.collect { it.isDirectory() ? it : zipTree(it) } } from { configurations.compileClasspath.collect { it.isDirectory() ? it : zipTree(it) } }
} }
+4 -4
View File
@@ -12,8 +12,8 @@ allprojects {
group = 'org.rs09' group = 'org.rs09'
version = '1.0.0' version = '1.0.0'
sourceCompatibility = 1.8 sourceCompatibility = 11
targetCompatibility = 1.8 targetCompatibility = 11
repositories { repositories {
mavenCentral() mavenCentral()
@@ -27,7 +27,7 @@ allprojects {
compileKotlin { compileKotlin {
kotlinOptions { kotlinOptions {
jvmTarget = "1.8" jvmTarget = "11"
} }
} }
} }