re-activate auto-download of JDK with Gradle Toolchain support #7
@ -43,6 +43,8 @@ repositories {
|
|||||||
java {
|
java {
|
||||||
toolchain {
|
toolchain {
|
||||||
languageVersion = JavaLanguageVersion.of(21)
|
languageVersion = JavaLanguageVersion.of(21)
|
||||||
|
vendor = JvmVendorSpec.ADOPTIUM
|
||||||
|
implementation = JvmImplementation.VENDOR_SPECIFIC
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -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
|
||||||
|
@ -7,6 +7,10 @@ pluginManagement {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
plugins {
|
||||||
|
id 'org.gradle.toolchains.foojay-resolver-convention' version '0.7.0'
|
||||||
|
}
|
||||||
|
|
||||||
dependencyResolutionManagement {
|
dependencyResolutionManagement {
|
||||||
components {
|
components {
|
||||||
all {
|
all {
|
||||||
|
Loading…
Reference in New Issue
Block a user