1
0
mirror of https://gitlab.com/fdroid/fdroidserver.git synced 2024-11-09 17:00:12 +01:00

Apk output path is build/outputs/apk/*.apk since 0.11

This commit is contained in:
Daniel Martí 2014-06-12 10:04:20 +02:00
parent 9779979e3a
commit 71a09b700e

View File

@ -760,6 +760,9 @@ def build_local(app, thisbuild, vcs, build_dir, output_dir, srclib_dir, extlib_d
else: else:
name = '-'.join([basename, '-'.join(flavours), 'release', 'unsigned']) name = '-'.join([basename, '-'.join(flavours), 'release', 'unsigned'])
dd = os.path.normpath(dd) dd = os.path.normpath(dd)
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') src = os.path.join(dd, 'build', 'apk', name + '.apk')
elif thisbuild['type'] == 'ant': elif thisbuild['type'] == 'ant':
stdout_apk = '\n'.join([ stdout_apk = '\n'.join([