Browse Source

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
pull/44134/head
Andy Wilkinson 12 months ago
parent
commit
4b8d5f22de
  1. 6
      spring-boot-project/spring-boot-tools/spring-boot-loader-tools/build.gradle

6
spring-boot-project/spring-boot-tools/spring-boot-loader-tools/build.gradle

@ -95,12 +95,6 @@ sourceSets { @@ -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 ->

Loading…
Cancel
Save