瀏覽代碼

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
 
45
 
46
 This will pull in the dependencies in either binary format, or in source code format, somewhere under /node_modules/
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
     $ cp -r ../node_modules/react-native/android/com /tmp/repo/
52
     $ cp -r ../node_modules/react-native/android/com /tmp/repo/
51
 
53
 
53
 
55
 
54
     $ cp -r ../node_modules/jsc-android/dist/org /tmp/repo/
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
 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. 
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
 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:
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
 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:
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
 

Loading…
取消
儲存