uweb/build.gradle
2023-01-31 09:35:45 +08:00

10 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 }}
}
}