mirror of
https://github.com/torappinfo/uweb.git
synced 2024-08-14 23:54:59 +00:00
fix generated apk path
This commit is contained in:
parent
bc8110325b
commit
668af3d194
1 changed files with 2 additions and 2 deletions
|
@ -1,8 +1,8 @@
|
||||||
defaultTasks 'genApk'
|
defaultTasks 'genApk'
|
||||||
task genApk() {
|
task genApk() {
|
||||||
doFirst {
|
doFirst {
|
||||||
mkdir "build/outputs/apk"
|
mkdir "build/outputs/apk/release"
|
||||||
def f = new File('build/outputs/apk/uweb.apk')
|
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 }}
|
new URL('https://releases.pagure.org/uweb/uweb_latest.apk').withInputStream{ i -> f.withOutputStream{ it << i }}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue