mirror of
https://github.com/f-droid/fdroidserver.git
synced 2025-11-05 15:00:30 +03:00
Apk output path is build/outputs/apk/*.apk since 0.11
This commit is contained in:
parent
9779979e3a
commit
71a09b700e
1 changed files with 4 additions and 1 deletions
|
|
@ -760,7 +760,10 @@ def build_local(app, thisbuild, vcs, build_dir, output_dir, srclib_dir, extlib_d
|
|||
else:
|
||||
name = '-'.join([basename, '-'.join(flavours), 'release', 'unsigned'])
|
||||
dd = os.path.normpath(dd)
|
||||
src = os.path.join(dd, 'build', 'apk', name + '.apk')
|
||||
if thisbuild['gradlepluginver'] >= LooseVersion('0.11'):
|
||||
src = os.path.join(dd, 'build', 'outputs', 'apk', name + '.apk')
|
||||
else:
|
||||
src = os.path.join(dd, 'build', 'apk', name + '.apk')
|
||||
elif thisbuild['type'] == 'ant':
|
||||
stdout_apk = '\n'.join([
|
||||
line for line in p.stdout.splitlines() if '.apk' in line])
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue