From 93fc2a455ba6cac8a06edd5f517b494c03a87ffa Mon Sep 17 00:00:00 2001 From: Andy Wilkinson Date: Thu, 21 Mar 2024 10:06:28 +0000 Subject: [PATCH] Reinstate Gradle Plugin toolchain's maximum compatible Java version See gh-33766 --- .../spring-boot-tools/spring-boot-gradle-plugin/build.gradle | 3 +++ 1 file changed, 3 insertions(+) diff --git a/spring-boot-project/spring-boot-tools/spring-boot-gradle-plugin/build.gradle b/spring-boot-project/spring-boot-tools/spring-boot-gradle-plugin/build.gradle index 1b9198a8735..b8f9c2865df 100644 --- a/spring-boot-project/spring-boot-tools/spring-boot-gradle-plugin/build.gradle +++ b/spring-boot-project/spring-boot-tools/spring-boot-gradle-plugin/build.gradle @@ -133,3 +133,6 @@ artifacts { antoraContent antoraGradlePluginCatalogContent } +toolchain { + maximumCompatibleJavaVersion = JavaLanguageVersion.of(20) +}