Skip to content

Commit

Permalink
Update JavaFX from 17.0.7 to 17.0.8 (#6920)
Browse files Browse the repository at this point in the history
This is necessary, because build.gradle always uses the latest Java 17.

Signed-off-by: Vest <[email protected]>
  • Loading branch information
Vest authored Aug 27, 2023
1 parent 5cd9f6f commit 3261628
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -526,14 +526,13 @@ task downloadJRE {
def url = "https://api.adoptium.net/v3/binary/latest/${major}/ga/${os}/${arch}/jdk/hotspot/normal/eclipse"
def jreDir = new File("${projectDir}/jre/${os}/jre_${arch}")
if(!jreDir.exists()){

println("Downloading Java ${major} ${arch} for ${os} from ${url}")
download.run {
src url
dest new File("${projectDir}/jre/${os}/", "jre_${arch}.${extension}")
overwrite false
}

// Now unzip them
if(extension == "zip"){
fileTree(dir: "${projectDir}/jre/${os}/").include("*.${extension}").each { simLib ->
Expand Down Expand Up @@ -594,7 +593,7 @@ task downloadJRE {

task downloadJavaFXModules(dependsOn: downloadJRE) {
// We support Windows/Mac/Linux - x64, Mac/Linux - aarch64, and Windows x86 (32-bit)
def major = "17.0.7"
def major = "17.0.8"
def archs = ['x64', 'x86', 'aarch64']
def osList = ["windows", "mac", "linux"]

Expand Down

0 comments on commit 3261628

Please sign in to comment.