Fix Java 24 setup in GitHub action build
This commit switches to using Java 24 as the mai JVM in the GitHub action and also configures the foojay resolver for Java toolchain resolution by Gradle. See gh-1206
This commit is contained in:
2
.github/actions/build-and-publish/action.yml
vendored
2
.github/actions/build-and-publish/action.yml
vendored
@@ -3,7 +3,7 @@ description: 'Builds the project, optionally publishing it to a local deployment
|
||||
inputs:
|
||||
java-version:
|
||||
required: false
|
||||
default: '17'
|
||||
default: '24'
|
||||
description: 'The Java version to compile and test with'
|
||||
java-distribution:
|
||||
required: false
|
||||
|
||||
@@ -13,6 +13,7 @@ pluginManagement {
|
||||
}
|
||||
|
||||
plugins {
|
||||
id "org.gradle.toolchains.foojay-resolver-convention" version "1.0.0"
|
||||
id "io.spring.develocity.conventions" version "0.0.22"
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user