Created
July 5, 2016 07:16
-
-
Save alces/c72a1258cf4e1493c3bc73e0120523ab to your computer and use it in GitHub Desktop.
How to download a file via HTTP/HTTPS in Groovy script using "get" task from Ant. The script requires no external dependencies.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
def ant = new AntBuilder() | |
ant.get(src: 'http://central.maven.org/maven2/jsch/jsch/0.1.29/jsch-0.1.29.jar', | |
dest: 'jsch.jar') |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment