diff --git a/fdroidserver/scanner.py b/fdroidserver/scanner.py index c17e7c29..fc9ef13a 100644 --- a/fdroidserver/scanner.py +++ b/fdroidserver/scanner.py @@ -60,13 +60,14 @@ class ExitCode(IntEnum): def get_gradle_compile_commands(build): - compileCommands = ['compile', - 'provided', + compileCommands = ['api', 'apk', - 'implementation', 'classpath', - 'api', + 'compile', 'compileOnly', + 'id', + 'implementation', + 'provided', 'runtimeOnly'] buildTypes = ['', 'release'] flavors = [''] diff --git a/tests/scanner.TestCase b/tests/scanner.TestCase index 6a85b7f3..76cece25 100755 --- a/tests/scanner.TestCase +++ b/tests/scanner.TestCase @@ -53,7 +53,7 @@ class ScannerTest(unittest.TestCase): 'OtakuWorld': 2, 'Zillode': 1, 'cn.wildfirechat.chat': 4, - 'com.github.shadowsocks': 7, + 'com.github.shadowsocks': 10, 'com.integreight.onesheeld': 16, 'com.jens.automation2': 3, 'firebase-suspect': 1, @@ -76,7 +76,7 @@ class ScannerTest(unittest.TestCase): ('source-files/com.nextcloud.client/build.gradle', 'generic', 28), ('source-files/com.kunzisoft.testcase/build.gradle', 'libre', 4), ('source-files/cn.wildfirechat.chat/chat/build.gradle', 'yes', 33), - ('source-files/org.tasks/app/build.gradle.kts', 'generic', 39), + ('source-files/org.tasks/app/build.gradle.kts', 'generic', 43), ('source-files/at.bitfire.davdroid/build.gradle', 'standard', 16), ('source-files/se.manyver/android/app/build.gradle', 'indie', 29), ('source-files/osmandapp/osmand/build.gradle', 'free', 5),