Download directly to file instead of a dir (#70)

This commit is contained in:
Syer10 2021-05-03 14:30:18 -04:00 committed by GitHub
parent a3601cf1b5
commit b718c718df
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -207,7 +207,7 @@ tasks {
register<de.undercouch.gradle.tasks.download.Download>("downloadJre") { register<de.undercouch.gradle.tasks.download.Download>("downloadJre") {
src("https://github.com/AdoptOpenJDK/openjdk8-binaries/releases/download/jdk8u282-b08/OpenJDK8U-jre_x86-32_windows_hotspot_8u282b08.zip") src("https://github.com/AdoptOpenJDK/openjdk8-binaries/releases/download/jdk8u282-b08/OpenJDK8U-jre_x86-32_windows_hotspot_8u282b08.zip")
dest(buildDir) dest("$buildDir/OpenJDK8U-jre_x86-32_windows_hotspot_8u282b08.zip")
overwrite(false) overwrite(false)
onlyIfModified(true) onlyIfModified(true)
} }