Skip to content

Commit 0f5091d

Browse files
committed
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
1 parent 8c79e02 commit 0f5091d

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

.github/actions/build-and-publish/action.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ description: 'Builds the project, optionally publishing it to a local deployment
33
inputs:
44
java-version:
55
required: false
6-
default: '17'
6+
default: '24'
77
description: 'The Java version to compile and test with'
88
java-distribution:
99
required: false

settings.gradle

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@ pluginManagement {
1313
}
1414

1515
plugins {
16+
id "org.gradle.toolchains.foojay-resolver-convention" version "1.0.0"
1617
id "io.spring.develocity.conventions" version "0.0.22"
1718
}
1819

0 commit comments

Comments
 (0)