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) +}