From 06ac7e4c8211e0f57aff54bb7a594bd0f986ad6e Mon Sep 17 00:00:00 2001 From: Tom Martin Date: Mon, 19 Aug 2024 10:44:13 +0100 Subject: [PATCH] Switch to java 8 toolchain which includes jfx on windows+linux --- launcher/build.gradle | 2 +- lib/build.gradle | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/launcher/build.gradle b/launcher/build.gradle index cb48a97b8..7cc73df2c 100644 --- a/launcher/build.gradle +++ b/launcher/build.gradle @@ -17,7 +17,7 @@ dependencies { java { toolchain { languageVersion = JavaLanguageVersion.of(8) // pinned to java 8 for backwards compatibility - vendor = JvmVendorSpec.AZUL // using azul as it's one of few jdks to include jfx and isn't oracle + vendor = JvmVendorSpec.AMAZON // using corretto as it's one of few jdks to include jfx (on windows+linux) and isn't oracle } } diff --git a/lib/build.gradle b/lib/build.gradle index c08f4868e..41cfe7ea7 100644 --- a/lib/build.gradle +++ b/lib/build.gradle @@ -9,6 +9,6 @@ configurations { java { toolchain { languageVersion = JavaLanguageVersion.of(8) // pinned to java 8 for backwards compatibility - vendor = JvmVendorSpec.AZUL // using azul as it's one of few jdks to include jfx and isn't oracle + vendor = JvmVendorSpec.AMAZON // using corretto as it's one of few jdks to include jfx (on windows+linux) and isn't oracle } }