瀏覽代碼

[Android] Maven artifact publishing documentation

j8
Lyubo Marinov 7 年之前
父節點
當前提交
0550858653
共有 1 個文件被更改,包括 24 次插入1 次删除
  1. 24
    1
      android/README.md

+ 24
- 1
android/README.md 查看文件

@@ -9,11 +9,34 @@
9 9
    ./gradlew :sdk:assembleRelease
10 10
    ```
11 11
 
12
-3. ```bash
12
+3. Configure the Maven repositories in which you are going to publish the
13
+   artifacts/binaries during step 4. Modify
14
+   `"file:${rootProject.projectDir}/../../../jitsi/jitsi-maven-repository/releases"`
15
+   in adroid/sdk/build.gradle for Jitsi Meet SDK for Android and/or
16
+   `"file:${rootProject.projectDir}/../../../jitsi/jitsi-maven-repository/releases"`
17
+   in android/build.gradle for the third-party react-native modules which Jitsi
18
+   Meet SDK for Android depends on and are not publicly available in Maven
19
+   repositories. Generally, if you are modifying the JavaSource code of Jitsi
20
+   Meet SDK for Android only, you will very likely need to consider the former
21
+   only.
22
+
23
+4. Publish the Maven artifact/binary of Jitsi Meet SDK for Android in the Maven
24
+   repository configured in step 3:
25
+
26
+   ```bash
13 27
    ./gradlew :sdk:publish
14 28
    cd ../
15 29
    ```
16 30
 
31
+   If you would like to publish a third-party react-native module which Jitsi
32
+   Meet SDK for Android depends on and is not publicly available in Maven
33
+   repositories, replace `sdk` with the name of the react-native module. For
34
+   example, to publish react-native-webrtc:
35
+
36
+   ```bash
37
+   ./gradlew :react-native-webrtc:publish
38
+   ```
39
+
17 40
 ## Install
18 41
 
19 42
 Add the Maven repository

Loading…
取消
儲存