diff --git a/build.gradle b/build.gradle index b43f22e1..43ca4d22 100644 --- a/build.gradle +++ b/build.gradle @@ -43,6 +43,8 @@ repositories { java { toolchain { languageVersion = JavaLanguageVersion.of(21) + vendor = JvmVendorSpec.ADOPTIUM + implementation = JvmImplementation.VENDOR_SPECIFIC } } diff --git a/gradle.properties b/gradle.properties index a033d0d3..433cede1 100644 --- a/gradle.properties +++ b/gradle.properties @@ -1,3 +1,8 @@ +# Gradle Java Toolchain-support +org.gradle.java.installations.auto-detect=true +org.gradle.java.installations.auto-download=true +# org.gradle.jvm.toolchain.install.adoptopenjdk.baseUri +# org.gradle.java.installations.paths -- uncomment and set if needed # Spring BOM overrides # currently none necessary diff --git a/settings.gradle b/settings.gradle index 2423c63e..09d09d6f 100644 --- a/settings.gradle +++ b/settings.gradle @@ -7,6 +7,10 @@ pluginManagement { } } +plugins { + id 'org.gradle.toolchains.foojay-resolver-convention' version '0.7.0' +} + dependencyResolutionManagement { components { all {