1
0
mirror of https://gitlab.com/fdroid/fdroidserver.git synced 2024-10-05 18:50:09 +02:00

Proper apk path for gradle

This commit is contained in:
Daniel Martí 2013-08-05 20:01:02 +02:00
parent 89a9447a8c
commit 7d1f2b68b9

View File

@ -468,7 +468,7 @@ def build_local(app, thisbuild, vcs, build_dir, output_dir, srclib_dir, extlib_d
src = m.group(1)
src = os.path.join(bindir, src) + '.apk'
elif 'gradle' in thisbuild:
src = os.path.join('build', 'apk', '-'.join([app['Auto Name'], flavour, 'release', 'unsigned')+'.apk'])
src = os.path.join(build_dir, 'build', 'apk', '-'.join([app['id'], flavour, 'release', 'unsigned'])+'.apk')
else:
src = re.match(r".*^.*Creating (.+) for release.*$.*", output,
re.S|re.M).group(1)