mirror of
https://github.com/torappinfo/uweb.git
synced 2024-08-14 23:54:59 +00:00
11 lines
272 B
Groovy
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 }}
|
|
}
|
|
}
|
|
|
|
|