Skip to content

Commit 1ddbc90

Browse files
authored
Wrap target backend property in double quotes (#4556)
Without it, it's generated as a symbol, causing the build to break.
1 parent 59930cf commit 1ddbc90

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

firebase-firestore/firebase-firestore.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -100,7 +100,7 @@ tasks.withType(Test) {
100100

101101
android.libraryVariants.all { variant ->
102102
if (findProperty('targetBackend')) {
103-
variant.buildConfigField("String", "TARGET_BACKEND", property("targetBackend"))
103+
variant.buildConfigField("String", "TARGET_BACKEND", "\"${property("targetBackend")}\"")
104104
} else {
105105
// By default set the target backend to 'emulator'
106106
variant.buildConfigField("String", "TARGET_BACKEND", "\"emulator\"")

0 commit comments

Comments
 (0)