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:
Brian Clozel
2025-05-21 11:49:44 +02:00
parent 8c79e025d3
commit 0f5091d1ca
2 changed files with 2 additions and 1 deletions

View File

@@ -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

View File

@@ -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"
}