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,26 @@ 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
5353``` bash
5454./gradlew publishToMavenLocal
5555```
56- To use the locally published library in your project, you can add the following dependency in your ` build.gradle ` file:
56+
57+ Alternatively, to publish only the specific (LiveObjects) module:
58+ ``` bash
59+ ./gradlew :live-objects:publishToMavenLocal
60+ ```
61+
62+ - To use the locally published library in your project, you can add the following dependency in your ` build.gradle ` file:
5763
5864``` groovy
5965repositories {
6066 mavenLocal()
6167}
6268```
69+ - Note - Place ` mavenLocal() ` before ` mavenCentral() ` for resolution precedence.
6370
6471### How to Add a New Network Engine
6572
You can’t perform that action at this time.
0 commit comments