From 055085865395942284f2797debd1fd1c78526297 Mon Sep 17 00:00:00 2001 From: Lyubo Marinov Date: Mon, 30 Oct 2017 16:04:37 -0500 Subject: [PATCH] [Android] Maven artifact publishing documentation --- android/README.md | 25 ++++++++++++++++++++++++- 1 file changed, 24 insertions(+), 1 deletion(-) diff --git a/android/README.md b/android/README.md index 0192750daf..3fb965642b 100644 --- a/android/README.md +++ b/android/README.md @@ -9,11 +9,34 @@ ./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 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 Add the Maven repository