File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -47,19 +47,25 @@ implementation("io.ably:ably-java:$ABLY_VERSION") {
4747runtimeOnly(" io.ably:network-client-okhttp:$ABLY_VERSION " )
4848```
4949
50- ### Publishing to local Maven repository for Development and Testing
50+ ### Publishing to local Maven repository for development and testing
5151To publish the library to your local Maven repository, you can use the following command:
5252
53- ``` bash
54- ./gradlew publishToMavenLocal
55- ```
56- To use the locally published library in your project, you can add the following dependency in your ` build.gradle ` file:
53+ ./gradlew publishToMavenLocal
54+
55+
56+ Alternatively, to publish only the specific (LiveObjects) module:
57+
58+ ./gradlew :live-objects:publishToMavenLocal
59+
60+
61+ - To use the locally published library in your project, you can add the following dependency in your ` build.gradle ` file:
5762
5863``` groovy
5964repositories {
6065 mavenLocal()
6166}
6267```
68+ - Note - Place ` mavenLocal() ` before ` mavenCentral() ` for resolution precedence.
6369
6470### How to Add a New Network Engine
6571
You can’t perform that action at this time.
0 commit comments