forked from spring-projects/spring-boot
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Publish a runtime variant that supports Java 22
In order to support Java 22, we must use spring-core 6.1.x. spring-core 6.1.x is a multi-release jar so, in order to support Java 22, a version of Gradle that supports multi-release jars must be used. This commit adds a new variant to spring-boot-gradle-plugin for modern versions of Gradle. When Gradle's plugin API version is 8.7 or later, we use spring-core 6.1.x. spring-core 6.0.x is used at all other times. Closes spring-projectsgh-40074
- Loading branch information
1 parent
6fd3ebb
commit c7ec608
Showing
2 changed files
with
54 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters