Skip to content
This repository was archived by the owner on May 18, 2025. It is now read-only.
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -122,16 +122,16 @@ task downloadJavaFXLibraries {
outputs.dir(downloadDir)

doLast {
if (!downloadDir.exists()) {
// if (!downloadDir.exists()) {
println "Downloading JavaFX SDK $javafxVersion for ${osName()} from GluonHQ"
downloadDir.mkdirs()
//def url = "https://download2.gluonhq.com/openjfx/${javafxVersion}/openjfx-${javafxVersion}_${osName()}-x64_bin-sdk.zip"
def url = "https://download2.gluonhq.com/openjfx/${javafxVersion}/openjfx-${javafxVersion}_osx-aarch64_bin-sdk.zip"
ant.get(src: url, dest: "$downloadDir/javafx-sdk.zip")
ant.unzip(src: "$downloadDir/javafx-sdk.zip", dest: downloadDir)
} else {
println "Directory $downloadDir already exists, skipping download."
}
// } else {
// println "Directory $downloadDir already exists, skipping download."
// }
}
}

Expand Down