mirror of
https://github.com/f-droid/fdroidserver.git
synced 2026-09-28 23:56:39 -04: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
1 file changed
+14
-1
+14
-1
@@ -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]
|
||||
|
||||
Reference in new issue
Block a user