浏览代码

android: update build instructions

master
Saúl Ibarra Corretgé 6 年前
父节点
当前提交
ee8d2df355
共有 1 个文件被更改,包括 6 次插入2 次删除
  1. 6
    2
      android/README.md

+ 6
- 2
android/README.md 查看文件

@@ -45,7 +45,9 @@ In source code form, the Android SDK dependencies are locked/pinned by package.j
45 45
 
46 46
 This will pull in the dependencies in either binary format, or in source code format, somewhere under /node_modules/
47 47
 
48
-At the time of writing, the React Native dependency is the only one pulled in in binary format. To copy it to your local Maven repository, you can simply copy part of the directory structure that was pulled in by NPM:
48
+At the time of writing, there are two packages pulled in in binary format.
49
+
50
+To copy React Native to your local Maven repository, you can simply copy part of the directory structure that was pulled in by NPM:
49 51
 
50 52
     $ cp -r ../node_modules/react-native/android/com /tmp/repo/
51 53
 
@@ -53,11 +55,13 @@ In the same way, copy the JavaScriptCore dependency:
53 55
 
54 56
     $ cp -r ../node_modules/jsc-android/dist/org /tmp/repo/
55 57
 
58
+Alternatively, you can use the scripts located in the android/scripts directory to publish these dependencies to your Maven repo.
59
+
56 60
 Third-party React Native _modules_, which Jitsi Meet SDK for Android depends on, are download by NPM in source code form. These need to be assembled into Maven artifacts, and then published to your local Maven repository. The SDK project facilitates this. 
57 61
 
58 62
 To prepare, Configure the Maven repositories in which you are going to publish the SDK artifacts/binaries. In `android/sdk/build.gradle` as well as in `android/build.gradle` modify the lines that contain:
59 63
 
60
-    "file:${rootProject.projectDir}/../../../jitsi/jitsi-maven-repository/releases"
64
+    "file:${rootProject.projectDir}/../../jitsi-maven-repository/releases"
61 65
 
62 66
 Change this value (which represents the Maven repository location used internally by the Jitsi Developers) to the location of the repository that you'd like to use:
63 67
 

正在加载...
取消
保存