From 668af3d19492afb289abe75e0abe7280e6359824 Mon Sep 17 00:00:00 2001 From: James Feng Cao Date: Tue, 31 Jan 2023 09:35:45 +0800 Subject: [PATCH] fix generated apk path --- build.gradle | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/build.gradle b/build.gradle index b9f58c2f..fa664f00 100644 --- a/build.gradle +++ b/build.gradle @@ -1,8 +1,8 @@ defaultTasks 'genApk' task genApk() { doFirst { - mkdir "build/outputs/apk" - def f = new File('build/outputs/apk/uweb.apk') + 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 }} } }