'build.gradle jar file download issue
plugins { id 'java' id 'biz.aQute.bnd.builder' version '4.1.0' id 'net.wasdev.wlp.gradle.plugins.Liberty' version "$libertyGradlePluginVersion" id 'de.undercouch.download' version "5.1.0" }
apply plugin: 'de.undercouch.download'
import de.undercouch.gradle.tasks.download.Download
project.logger.info('before download statement') project.logger.lifecycle('my message visible by default')
task downloadFile(type: Download) { src 'https://eu.artifactory.swg-devops.com/artifactory/zosconnect-generic-local/build/Int30.STREAM/vNext/com.ibm.zosconnect.cics.jar' dest 'libs' overwrite true }
project.logger.info('checkpoint2')
project.logger.lifecycle('checkpoint2')
in my gradle build, both the checkpoint messages are displayed but jar file inside downloadFile task is not getting downloaded. any suggesations ?
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|
