This is an automated email from the ASF dual-hosted git repository.
kyork pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-weex.git
The following commit(s) were added to refs/heads/master by this push:
new db4d62b * [Android] Read weex version from command (#1919)
db4d62b is described below
commit db4d62b9fbab0733c3d2033db77b31b8327b3b54
Author: YorkShen <[email protected]>
AuthorDate: Mon Dec 17 14:14:54 2018 +0800
* [Android] Read weex version from command (#1919)
---
android/sdk/build.gradle | 7 +++----
1 file changed, 3 insertions(+), 4 deletions(-)
diff --git a/android/sdk/build.gradle b/android/sdk/build.gradle
index 77f0b32..ecba7bc 100755
--- a/android/sdk/build.gradle
+++ b/android/sdk/build.gradle
@@ -30,6 +30,8 @@ plugins {
apply plugin: 'com.android.library'
apply plugin: 'checkstyle'
+apply plugin: 'com.jfrog.bintray'
+apply plugin: 'com.github.dcendents.android-maven'
ext.disableCov = project.hasProperty('disableCov') ?
project.getProperty('disableCov') : 'false'
if(!disableCov.toBoolean()){
@@ -54,8 +56,7 @@ checkstyle {
toolVersion = '6.9'
}
-
-version = "0.20.0.1"
+version = project.hasProperty('weexVersion')?
project.getProperty('weexVersion') : "0.20.0.1"
android {
@@ -288,8 +289,6 @@ task checkNdkVersion() {
preBuild.dependsOn checkNdkVersion
-apply plugin: 'com.jfrog.bintray'
-apply plugin: 'com.github.dcendents.android-maven'
def siteUrl = 'http://weex.incubator.apache.org'
def gitUrl = 'https://github.com/apache/incubator-weex.git'
group = "com.taobao.android"