re-activate auto-download of JDK with Gradle Toolchain support #7

Merged
hsh-michaelhoennig merged 1 commits from re-activate-auto-download-of-jdk-with-gradle-toolchain-support into master 2024-01-05 15:16:13 +01:00
3 changed files with 11 additions and 0 deletions

View File

@ -43,6 +43,8 @@ repositories {
java { java {
toolchain { toolchain {
languageVersion = JavaLanguageVersion.of(21) languageVersion = JavaLanguageVersion.of(21)
vendor = JvmVendorSpec.ADOPTIUM
implementation = JvmImplementation.VENDOR_SPECIFIC
} }
} }

View File

@ -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 # Spring BOM overrides
# currently none necessary # currently none necessary

View File

@ -7,6 +7,10 @@ pluginManagement {
} }
} }
plugins {
id 'org.gradle.toolchains.foojay-resolver-convention' version '0.7.0'
}
dependencyResolutionManagement { dependencyResolutionManagement {
components { components {
all { all {