diff options
Diffstat (limited to 'lwjgl3')
| -rw-r--r-- | lwjgl3/build.gradle | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/lwjgl3/build.gradle b/lwjgl3/build.gradle index 26356c4..76f521b 100644 --- a/lwjgl3/build.gradle +++ b/lwjgl3/build.gradle @@ -22,10 +22,10 @@ sourceSets.main.resources.srcDirs += [ rootProject.file('assets').path ] application.mainClass = 'coffee.liz.dyl.lwjgl3.Lwjgl3Launcher' application.applicationName = appName eclipse.project.name = appName + '-lwjgl3' -java.sourceCompatibility = 17 -java.targetCompatibility = 17 +java.sourceCompatibility = JavaVersion.VERSION_24 +java.targetCompatibility = JavaVersion.VERSION_24 if (JavaVersion.current().isJava9Compatible()) { - compileJava.options.release.set(17) + compileJava.options.release.set(24) } dependencies { @@ -127,12 +127,12 @@ construo { targets.configure { register("linuxX64", Target.Linux) { architecture.set(Target.Architecture.X86_64) - jdkUrl.set("https://github.com/adoptium/temurin17-binaries/releases/download/jdk-17.0.15%2B6/OpenJDK17U-jdk_x64_linux_hotspot_17.0.15_6.tar.gz") + jdkUrl.set("https://api.adoptium.net/v3/binary/latest/24/ga/linux/x64/jdk/hotspot/normal/eclipse") // Linux does not currently have a way to set the icon on the executable } register("macM1", Target.MacOs) { architecture.set(Target.Architecture.AARCH64) - jdkUrl.set("https://github.com/adoptium/temurin17-binaries/releases/download/jdk-17.0.15%2B6/OpenJDK17U-jdk_aarch64_mac_hotspot_17.0.15_6.tar.gz") + jdkUrl.set("https://api.adoptium.net/v3/binary/latest/24/ga/mac/aarch64/jdk/hotspot/normal/eclipse") // macOS needs an identifier identifier.set("coffee.liz.dyl." + appName) // Optional: icon for macOS, as an ICNS file @@ -140,7 +140,7 @@ construo { } register("macX64", Target.MacOs) { architecture.set(Target.Architecture.X86_64) - jdkUrl.set("https://github.com/adoptium/temurin17-binaries/releases/download/jdk-17.0.15%2B6/OpenJDK17U-jdk_x64_mac_hotspot_17.0.15_6.tar.gz") + jdkUrl.set("https://api.adoptium.net/v3/binary/latest/24/ga/mac/x64/jdk/hotspot/normal/eclipse") // macOS needs an identifier identifier.set("coffee.liz.dyl." + appName) // Optional: icon for macOS, as an ICNS file @@ -150,7 +150,7 @@ construo { architecture.set(Target.Architecture.X86_64) // Optional: icon for Windows, as a PNG icon.set(project.file("icons/logo.png")) - jdkUrl.set("https://github.com/adoptium/temurin17-binaries/releases/download/jdk-17.0.15%2B6/OpenJDK17U-jdk_x64_windows_hotspot_17.0.15_6.zip") + jdkUrl.set("https://api.adoptium.net/v3/binary/latest/24/ga/windows/x64/jdk/hotspot/normal/eclipse") // Uncomment the next line to show a console when the game runs, to print messages. //useConsole.set(true) } |
