This is an automated email from the ASF dual-hosted git repository. kyork pushed a commit to branch release/0.28 in repository https://gitbox.apache.org/repos/asf/incubator-weex.git
The following commit(s) were added to refs/heads/release/0.28 by this push: new 5edef95 Add the ability of unbundling JSC from weex_sdk.aar. 5edef95 is described below commit 5edef955478710a34cdee0b98c612cab0df1e024 Author: YorkShen <shenyua...@gmail.com> AuthorDate: Tue Oct 15 16:52:20 2019 +0800 Add the ability of unbundling JSC from weex_sdk.aar. --- android/build.gradle | 1 + android/sdk/build.gradle | 4 ++++ 2 files changed, 5 insertions(+) diff --git a/android/build.gradle b/android/build.gradle index 9b70e08..f3de368 100644 --- a/android/build.gradle +++ b/android/build.gradle @@ -76,6 +76,7 @@ ext { //Default value for disableCov is false disableCov = project.hasProperty("disableCov") && disableCov.equals("true") useApachePackageName = project.hasProperty('apachePackageName') ? project.property('apachePackageName').toBoolean() : false + unbundlingJSC = project.hasProperty('unbundlingJSC') ? project.property('unbundlingJSC').toBoolean() : false implementFromWeex = true } diff --git a/android/sdk/build.gradle b/android/sdk/build.gradle index 5e73b35..e9574bc 100755 --- a/android/sdk/build.gradle +++ b/android/sdk/build.gradle @@ -209,6 +209,10 @@ android { main.java.srcDirs = ['src/legacyRelease/java'] main.manifest.srcFile(new File('src/legacyRelease/AndroidManifest.xml')) } + + if(project.unbundlingJSC){ + main.jniLibs.srcDirs = [] + } } compileOptions.encoding = "UTF-8"