forked from 2009Scape/Server
swapped to java 11
This commit is contained in:
parent
c50d51c22a
commit
af82267652
2 changed files with 6 additions and 6 deletions
|
|
@ -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) } }
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -12,8 +12,8 @@ allprojects {
|
|||
group = 'org.rs09'
|
||||
version = '1.0.0'
|
||||
|
||||
sourceCompatibility = 1.8
|
||||
targetCompatibility = 1.8
|
||||
sourceCompatibility = 11
|
||||
targetCompatibility = 11
|
||||
|
||||
repositories {
|
||||
mavenCentral()
|
||||
|
|
@ -27,7 +27,7 @@ allprojects {
|
|||
|
||||
compileKotlin {
|
||||
kotlinOptions {
|
||||
jvmTarget = "1.8"
|
||||
jvmTarget = "11"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue