Skip to content

Commit 8c16a06

Browse files
committed
fixes
1 parent 27e2cdc commit 8c16a06

File tree

1 file changed

+6
-5
lines changed

1 file changed

+6
-5
lines changed

firebase-firestore/README.md

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -124,7 +124,7 @@ Run below to format Java code:
124124
See [here](../README.md#code-formatting) if you want to be able to format code from within Android
125125
Studio.
126126

127-
## Build firebase-firestore for use in your application.
127+
## Roll your own build of firebase-firestore for use in your application
128128

129129
It is possible, and, indeed, quite easy, to compile the `firebase-firestore` Gradle artifact from
130130
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:
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)
167167
section 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.
249249
1. Edit `firebase-common/gradle.properties`, changing the verson to something like `99.99.99`.
250250
2. 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"))`
254255
4. Compile and publish the `firebase-firestore` Gradle artifact as documented above, namely, by
255256
running `./gradlew :firebase-firestore:publishToMavenLocal`
256257

0 commit comments

Comments
 (0)