We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8dd2444 commit 05e0597Copy full SHA for 05e0597
app/build.gradle.kts
@@ -23,8 +23,8 @@ plugins {
23
id("kotlin-parcelize")
24
}
25
26
-val isBuildingGms = gradle.startParameter.taskRequests.any { req ->
27
- req.args.any { it.startsWith("assembleGms") }
+val isBuildingFoss = gradle.startParameter.taskRequests.any { req ->
+ req.args.any { it.startsWith("assembleFoss") }
28
29
30
android {
@@ -45,8 +45,8 @@ android {
45
46
dependenciesInfo {
47
// Dependency info in APK is only useful for Play Store, so exclude it from FOSS build
48
- includeInApk = isBuildingGms
49
- includeInBundle = isBuildingGms
+ includeInApk = !isBuildingFoss
+ includeInBundle = !isBuildingFoss
50
51
52
flavorDimensions += "distribution"
0 commit comments