Change source level to 11, remove reflectutil
This commit is contained in:
@@ -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> {
|
||||
|
||||
Reference in New Issue
Block a user