1
0
mirror of https://gitlab.com/fdroid/fdroidserver.git synced 2024-11-04 14:30:11 +01:00

Try and feed the right gradle apk

This commit is contained in:
Daniel Martí 2013-08-03 17:45:11 +02:00
parent dbe0d1ec26
commit e0174654f8

View File

@ -467,6 +467,8 @@ def build_local(app, thisbuild, vcs, build_dir, output_dir, srclib_dir, extlib_d
raise BuildException('Failed to find output')
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')
else:
src = re.match(r".*^.*Creating (.+) for release.*$.*", output,
re.S|re.M).group(1)