uweb/build.gradle

11 lines
272 B
Groovy
Raw Normal View History

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