[Android] Maven artifact publishing documentation

This commit is contained in:
Lyubo Marinov 2017-10-30 16:04:37 -05:00
parent 34f7e39148
commit 0550858653
1 changed files with 24 additions and 1 deletions

View File

@ -9,11 +9,34 @@
./gradlew :sdk:assembleRelease ./gradlew :sdk:assembleRelease
``` ```
3. ```bash 3. Configure the Maven repositories in which you are going to publish the
artifacts/binaries during step 4. Modify
`"file:${rootProject.projectDir}/../../../jitsi/jitsi-maven-repository/releases"`
in adroid/sdk/build.gradle for Jitsi Meet SDK for Android and/or
`"file:${rootProject.projectDir}/../../../jitsi/jitsi-maven-repository/releases"`
in android/build.gradle for the third-party react-native modules which Jitsi
Meet SDK for Android depends on and are not publicly available in Maven
repositories. Generally, if you are modifying the JavaSource code of Jitsi
Meet SDK for Android only, you will very likely need to consider the former
only.
4. Publish the Maven artifact/binary of Jitsi Meet SDK for Android in the Maven
repository configured in step 3:
```bash
./gradlew :sdk:publish ./gradlew :sdk:publish
cd ../ cd ../
``` ```
If you would like to publish a third-party react-native module which Jitsi
Meet SDK for Android depends on and is not publicly available in Maven
repositories, replace `sdk` with the name of the react-native module. For
example, to publish react-native-webrtc:
```bash
./gradlew :react-native-webrtc:publish
```
## Install ## Install
Add the Maven repository Add the Maven repository