@@ -124,7 +124,7 @@ Run below to format Java code:
124124See [ here] ( ../README.md#code-formatting ) if you want to be able to format code from within Android
125125Studio.
126126
127- ## Build firebase-firestore for use in your application.
127+ ## Roll your own build of firebase-firestore for use in your application
128128
129129It is possible, and, indeed, quite easy, to compile the ` firebase-firestore ` Gradle artifact from
130130source and then use that self-compiled artifact in your Android application.
@@ -161,7 +161,7 @@ Then, build the `firebase-firestore` Gradle artifact by running:
161161
162162### Add mavenLocal() repository to your Android app
163163
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
165165` mavenLocal() ` to the
166166[ ` dependencyResolutionManagement.repositories ` ] ( https://docs.gradle.org/current/userguide/declaring_repositories.html )
167167section of your Android application's ` settings.gradle ` or ` settings.gradle.kts ` file.
@@ -186,7 +186,7 @@ dependencyResolutionManagement {
186186 repositories {
187187 google()
188188 mavenCentral()
189- mavenLocal() // Add this line to use the artifacts published by `publishToMavenLocal`
189+ mavenLocal() // Add this line to use artifacts published by `publishToMavenLocal`
190190 }
191191}
192192```
@@ -249,8 +249,9 @@ the steps as appropriate if your specific case uses a _different_ dependency.
2492491 . Edit ` firebase-common/gradle.properties ` , changing the verson to something like ` 99.99.99 ` .
2502502 . Compile and publish the ` firebase-common ` Gradle artifact by running:
251251 ` ./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")) `
2542554 . Compile and publish the ` firebase-firestore ` Gradle artifact as documented above, namely, by
255256 running ` ./gradlew :firebase-firestore:publishToMavenLocal `
256257
0 commit comments