mirror of
https://github.com/f-droid/fdroidserver.git
synced 2025-09-13 22:42:29 +03:00
scanner: don't crash on unused gradle files
This commit is contained in:
parent
83daf71338
commit
b9b5b5d1b0
1 changed files with 1 additions and 1 deletions
|
@ -33,7 +33,7 @@ options = None
|
|||
|
||||
def get_gradle_compile_commands(thisbuild):
|
||||
compileCommands = ['compile', 'releaseCompile']
|
||||
if thisbuild['gradle'] != ['yes']:
|
||||
if thisbuild['gradle'] and thisbuild['gradle'] != ['yes']:
|
||||
compileCommands += [flavor + 'Compile' for flavor in thisbuild['gradle']]
|
||||
compileCommands += [flavor + 'ReleaseCompile' for flavor in thisbuild['gradle']]
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue