Change source level to 11, remove reflectutil

This commit is contained in:
Lucwousin
2019-12-15 01:16:59 +01:00
parent 471eaeb3e0
commit 1117eba620
5 changed files with 26 additions and 107 deletions

View File

@@ -29,12 +29,16 @@ dependencies {
compileOnly(Libraries.guava)
compileOnly(Libraries.javaxInject)
compileOnly(Libraries.slf4jApi)
implementation(project(":runescape-api"))
compileOnly(project(":runescape-api"))
}
tasks {
java {
sourceCompatibility = JavaVersion.VERSION_1_7
targetCompatibility = JavaVersion.VERSION_1_7
disableAutoTargetJvm()
}
withType<JavaCompile> {
options.compilerArgs.addAll(arrayOf("-source", "7", "-Xlint:-unchecked"))
options.compilerArgs.addAll(arrayOf("-Xlint:-unchecked"))
}
}