Merge pull request #6943 from alvasw/remove_azul_enforcement

Remove Azul JDK Enforcement
This commit is contained in:
Alejandro García 2023-11-15 21:42:06 +00:00 committed by GitHub
commit 03f3ed88fc
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1,3 +1,5 @@
import org.apache.tools.ant.taskdefs.condition.Os
plugins {
id 'java'
id 'jacoco'
@ -11,9 +13,11 @@ repositories {
java {
toolchain {
languageVersion = JavaLanguageVersion.of(11)
vendor = JvmVendorSpec.AZUL
implementation = JvmImplementation.VENDOR_SPECIFIC
if (Os.isFamily(Os.FAMILY_MAC)) {
languageVersion = JavaLanguageVersion.of(15)
} else {
languageVersion = JavaLanguageVersion.of(11)
}
}
}