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

@@ -44,7 +44,6 @@ plugins {
id(Plugins.latestVersion.first) version Plugins.latestVersion.second
id(Plugins.grgit.first) version Plugins.grgit.second
checkstyle
application
}
@@ -83,9 +82,9 @@ subprojects {
project.extra["rootPath"] = rootDir.toString().replace("\\", "/")
if (this.name != "runescape-client") {
apply(plugin = "checkstyle")
apply<CheckstylePlugin>()
checkstyle {
configure<CheckstyleExtension> {
maxWarnings = 0
toolVersion = "8.25"
isShowViolations = true
@@ -114,8 +113,8 @@ subprojects {
tasks {
java {
sourceCompatibility = JavaVersion.VERSION_1_8
targetCompatibility = JavaVersion.VERSION_1_8
sourceCompatibility = JavaVersion.VERSION_11
targetCompatibility = JavaVersion.VERSION_11
}
withType<JavaCompile> {