@@ -124,7 +124,7 @@ Run below to format Java code:
124
124
See [ here] ( ../README.md#code-formatting ) if you want to be able to format code from within Android
125
125
Studio.
126
126
127
- ## Build firebase-firestore for use in your application.
127
+ ## Roll your own build of firebase-firestore for use in your application
128
128
129
129
It is possible, and, indeed, quite easy, to compile the ` firebase-firestore ` Gradle artifact from
130
130
source and then use that self-compiled artifact in your Android application.
@@ -161,7 +161,7 @@ Then, build the `firebase-firestore` Gradle artifact by running:
161
161
162
162
### Add mavenLocal() repository to your Android app
163
163
164
- In order to take a dependency on the self-compiled Gradle ` firebase-firestore ` artifact, first add
164
+ In order to take a dependency on the self-compiled ` firebase-firestore ` Gradle artifact, first add
165
165
` mavenLocal() ` to the
166
166
[ ` dependencyResolutionManagement.repositories ` ] ( https://docs.gradle.org/current/userguide/declaring_repositories.html )
167
167
section of your Android application's ` settings.gradle ` or ` settings.gradle.kts ` file.
@@ -186,7 +186,7 @@ dependencyResolutionManagement {
186
186
repositories {
187
187
google()
188
188
mavenCentral()
189
- mavenLocal() // Add this line to use the artifacts published by `publishToMavenLocal`
189
+ mavenLocal() // Add this line to use artifacts published by `publishToMavenLocal`
190
190
}
191
191
}
192
192
```
@@ -249,8 +249,9 @@ the steps as appropriate if your specific case uses a _different_ dependency.
249
249
1 . Edit ` firebase-common/gradle.properties ` , changing the verson to something like ` 99.99.99 ` .
250
250
2 . Compile and publish the ` firebase-common ` Gradle artifact by running:
251
251
` ./gradlew :firebase-common:publishToMavenLocal `
252
- 3 . Edit ` firebase-firestore/firebase-firestore.gradle ` to use a _ project_ dependency on the
253
- artifact. For example, change ` api(libs.firebase.common) ` to ` api(project(":firebase-common")) `
252
+ 3 . If necessary, edit ` firebase-firestore/firebase-firestore.gradle ` to use a _ project_ dependency
253
+ on the artifact. For example, change ` api(libs.firebase.common) ` to
254
+ ` api(project(":firebase-common")) `
254
255
4 . Compile and publish the ` firebase-firestore ` Gradle artifact as documented above, namely, by
255
256
running ` ./gradlew :firebase-firestore:publishToMavenLocal `
256
257
0 commit comments