Skip to content

Commit 7ec7311

Browse files
authored
Merge pull request #293 from google/parallel-gmpAppId
Make gmpAppId variant aware
2 parents e19f7a8 + 04554a1 commit 7ec7311

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

google-services-plugin/src/main/kotlin/com/google/gms/googleservices/GoogleServicesPlugin.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,7 @@ class GoogleServicesPlugin : Plugin<Project> {
9292
variant.productFlavors.map { it.second },
9393
project.projectDir))
9494
it.applicationId.set(variant.applicationId)
95-
it.gmpAppId.set(project.buildDir.resolve("gmpAppId.txt"))
95+
it.gmpAppId.set(project.buildDir.resolve("gmpAppId/${variant.name}.txt"))
9696
}
9797

9898
// TODO: add an AGP version check to this block

0 commit comments

Comments
 (0)