Skip to content

Commit f111858

Browse files
committed
Relax Java 24 toolchain requirements
While we choose our GitHub action to use Bellsoft Liberica, we should relax that vendor requirement and ensure that contributors can build the project with any Java 24 distribution. Closes gh-35043
1 parent 75c4bc8 commit f111858

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

buildSrc/src/main/java/org/springframework/build/JavaConventions.java

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,6 @@
2626
import org.gradle.api.plugins.JavaPluginExtension;
2727
import org.gradle.api.tasks.compile.JavaCompile;
2828
import org.gradle.jvm.toolchain.JavaLanguageVersion;
29-
import org.gradle.jvm.toolchain.JvmVendorSpec;
3029

3130
/**
3231
* {@link Plugin} that applies conventions for compiling Java sources in Spring Framework.
@@ -86,7 +85,6 @@ public void apply(Project project) {
8685
*/
8786
private static void applyToolchainConventions(Project project) {
8887
project.getExtensions().getByType(JavaPluginExtension.class).toolchain(toolchain -> {
89-
toolchain.getVendor().set(JvmVendorSpec.BELLSOFT);
9088
toolchain.getLanguageVersion().set(DEFAULT_LANGUAGE_VERSION);
9189
});
9290
}

0 commit comments

Comments
 (0)