Skip to content

Commit 4b8d5f2

Browse files
committed
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
1 parent 450244b commit 4b8d5f2

File tree

1 file changed

+0
-6
lines changed
  • spring-boot-project/spring-boot-tools/spring-boot-loader-tools

1 file changed

+0
-6
lines changed

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

-6
Original file line numberDiff line numberDiff line change
@@ -95,12 +95,6 @@ sourceSets {
9595
}
9696
}
9797

98-
compileJava {
99-
if ((!project.hasProperty("toolchainVersion")) && JavaVersion.current() == JavaVersion.VERSION_1_8) {
100-
options.compilerArgs += ['-Xlint:-sunapi', '-XDenableSunApiLintControl']
101-
}
102-
}
103-
10498
plugins.withType(EclipsePlugin) {
10599
eclipse {
106100
classpath.file { merger ->

0 commit comments

Comments
 (0)