ASIF KAMRAN MALICK
07/31/2024, 8:52 AMtask downloadDeps {
doLast {
def libDir = file("${buildDir}/lib")
if (!libDir.exists()) {
libDir.mkdirs()
}
dependencyList.each { dep ->
println "Downloading from: ${dep}"
exec {
workingDir libDir
commandLine 'curl', '-f', '-#', '-OJ', "${dep}"
}
}
}
}
What mistake am I doing here?