mirror of
https://github.com/pezkuwichain/pezkuwi-wallet-android.git
synced 2026-06-19 14:41:11 +00:00
fix(build): bind production google-services to develop variant
develop now uses the base io.pezkuwichain.wallet applicationId, whose google-services client is in the production google-services.json (the DEV google-services.json only has a .debug client). Extend the release-binding task to copy src/release/google-services.json into src/develop so processDevelopGoogleServices finds a matching client.
This commit is contained in:
+4
-1
@@ -121,7 +121,10 @@ android {
|
||||
|
||||
applicationVariants.all { variant ->
|
||||
String name = variant.buildType.name
|
||||
if (name != "release" && name.startsWith("release")) {
|
||||
// 'develop' now shares the base io.pezkuwichain.wallet applicationId, whose
|
||||
// google-services client lives in the production google-services.json — so bind
|
||||
// it for develop too (the DEV google-services.json has no matching client).
|
||||
if ((name != "release" && name.startsWith("release")) || name == "develop") {
|
||||
createBindReleaseFileTask(variant.buildType.name)
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user