Remove Java 8-specific build configuration that will never apply
With our Java 17 baseline, the build configuration that is only applicable when building with Java 8 will never be used. This commit removes it. Closes gh-44129
This commit is contained in:
@@ -95,12 +95,6 @@ sourceSets {
|
||||
}
|
||||
}
|
||||
|
||||
compileJava {
|
||||
if ((!project.hasProperty("toolchainVersion")) && JavaVersion.current() == JavaVersion.VERSION_1_8) {
|
||||
options.compilerArgs += ['-Xlint:-sunapi', '-XDenableSunApiLintControl']
|
||||
}
|
||||
}
|
||||
|
||||
plugins.withType(EclipsePlugin) {
|
||||
eclipse {
|
||||
classpath.file { merger ->
|
||||
|
||||
Reference in New Issue
Block a user