bundle taobao test

Project: http://git-wip-us.apache.org/repos/asf/incubator-weex/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-weex/commit/9ed73cb0
Tree: http://git-wip-us.apache.org/repos/asf/incubator-weex/tree/9ed73cb0
Diff: http://git-wip-us.apache.org/repos/asf/incubator-weex/diff/9ed73cb0

Branch: refs/heads/0.16-dev
Commit: 9ed73cb0b8a281b2764bfb3cdd8c23e05a0d00bf
Parents: 1769f7c
Author: jianbai.gbj <jianbai....@alibaba-inc.com>
Authored: Tue Sep 19 14:16:01 2017 +0800
Committer: jianbai.gbj <jianbai....@alibaba-inc.com>
Committed: Tue Sep 19 14:16:01 2017 +0800

----------------------------------------------------------------------
 android/sdk/build.gradle        |     6 +-
 pre-build/native-bundle-main.js | 26675 ++++++++++++++++++++++++++++++++-
 2 files changed, 26670 insertions(+), 11 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-weex/blob/9ed73cb0/android/sdk/build.gradle
----------------------------------------------------------------------
diff --git a/android/sdk/build.gradle b/android/sdk/build.gradle
index 0be69fb..59e3d7e 100755
--- a/android/sdk/build.gradle
+++ b/android/sdk/build.gradle
@@ -45,7 +45,7 @@ version = "0.9.4"
 android {
     compileSdkVersion project.compileSdkVersion
     buildToolsVersion project.buildToolsVersion
-    resourcePrefix "weex"
+    //resourcePrefix "weex"
 
     useLibrary 'org.apache.http.legacy'
     copy {
@@ -56,8 +56,8 @@ android {
     }
     def line
     new File(projectDir,"assets/main.js").withReader { line = it.readLine() }
-    def m = line =~ /[A-Z\s]+\s+([0-9\.]+),\s+Build\s+[0-9]+/;
-    def jsfmVersion = m[0][1]
+    //def m = line =~ /[A-Z\s]+\s+([0-9\.]+),\s+Build\s+[0-9]+/;
+    def jsfmVersion = "0.22.0-beta.2"  //m[0][1]
     println jsfmVersion
 
     if(project.hasProperty('asfRelease')){

Reply via email to