mirror of
https://gitlab.com/fdroid/fdroidserver.git
synced 2024-10-03 17:50:11 +02:00
Merge 'fix-scanner' into 'master'
scanner: support Gradle plugin 3.0 syntax for dependencies fdroid/fdroidserver!475
This commit is contained in:
commit
4fcf69a9ef
@ -32,7 +32,20 @@ options = None
|
||||
|
||||
|
||||
def get_gradle_compile_commands(build):
|
||||
compileCommands = ['compile', 'releaseCompile']
|
||||
compileCommands = ['compile',
|
||||
'provided'
|
||||
'apk'
|
||||
'implementation'
|
||||
'api'
|
||||
'compileOnly'
|
||||
'runtimeOnly',
|
||||
'releaseCompile'
|
||||
'releaseProvided'
|
||||
'releaseApk'
|
||||
'releaseImplementation'
|
||||
'releaseApi'
|
||||
'releaseCompileOnly'
|
||||
'releaseRuntimeOnly']
|
||||
if build.gradle and build.gradle != ['yes']:
|
||||
compileCommands += [flavor + 'Compile' for flavor in build.gradle]
|
||||
compileCommands += [flavor + 'ReleaseCompile' for flavor in build.gradle]
|
||||
|
Loading…
Reference in New Issue
Block a user