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

Co-authored-by: Michael Hoennig <michael@hoennig.de>
Reviewed-on: #7
Reviewed-by: Timotheus Pokorra <timotheus.pokorra@hostsharing.net>
This commit is contained in:
Michael Hoennig 2024-01-05 15:16:12 +01:00
parent 5c651891c3
commit 0f71c6a88d
3 changed files with 11 additions and 0 deletions

View File

@ -43,6 +43,8 @@ repositories {
java {
toolchain {
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
# currently none necessary

View File

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