You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

11 lines
272 B
Groovy

defaultTasks 'genApk'
task genApk() {
doFirst {
mkdir "build/outputs/apk/release"
def f = new File('build/outputs/apk/release/uweb.apk')
new URL('https://releases.pagure.org/uweb/uweb_latest.apk').withInputStream{ i -> f.withOutputStream{ it << i }}
}
}