This is an automated email from the ASF dual-hosted git repository.
luckychen 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 032ede3 [Android] Fix task skipping problem of download. (#2987)
032ede3 is described below
commit 032ede37e0b38e37e5e23398b436f4cb4de2c4a2
Author: YorkShen <[email protected]>
AuthorDate: Mon Oct 28 21:17:26 2019 +0800
[Android] Fix task skipping problem of download. (#2987)
* [Android] Fix task skipping problem of download.
* Update build.gradle for downloading.
* Update JCenter information.
---
android/sdk/buildSrc/download_jsc.gradle | 6 ++++++
android/sdk/buildSrc/jcenter.gradle | 4 ++--
2 files changed, 8 insertions(+), 2 deletions(-)
diff --git a/android/sdk/buildSrc/download_jsc.gradle
b/android/sdk/buildSrc/download_jsc.gradle
index 07dbe3a..c75c90e 100644
--- a/android/sdk/buildSrc/download_jsc.gradle
+++ b/android/sdk/buildSrc/download_jsc.gradle
@@ -33,6 +33,9 @@ def downloadJSC = { URL url, File dest ->
task download(){
inputs.property('url', jsc_url)
outputs.file(jsc_file)
+ outputs.upToDateWhen {
+ jsc_file.exists()
+ }
doFirst {
if (!jsc_file.exists()) {
downloadJSC(jsc_url, jsc_file)
@@ -56,6 +59,9 @@ task unzipJSC(type: Copy, dependsOn: download) {
}
inputs.file(jsc_file)
outputs.file(aar_file)
+ outputs.upToDateWhen {
+ aar_file.exists()
+ }
}
task copyJscToJniDir(type: Copy, dependsOn: unzipJSC) {
diff --git a/android/sdk/buildSrc/jcenter.gradle
b/android/sdk/buildSrc/jcenter.gradle
index 13b2424..fb8b55a 100644
--- a/android/sdk/buildSrc/jcenter.gradle
+++ b/android/sdk/buildSrc/jcenter.gradle
@@ -19,7 +19,7 @@
def siteUrl = 'https://weex.apache.org/'
def gitUrl = 'https://github.com/apache/incubator-weex.git'
def mailingList = '[email protected]'
-def description='Weex release is always under the form of source code, the
JCenter distribuion is only used for users\' convenience. View
https://weex.apache.org/download/download.html for all the source code release'
+def description='Apache Weex is an effort undergoing incubation at The Apache
Software Foundation (ASF), sponsored by the Apache Incubator. Incubation is
required of all newly accepted projects until a further review indicates that
the infrastructure, communications, and decision making process have stabilized
in a manner consistent with other successful ASF projects. While incubation
status is not necessarily a reflection of the completeness or stability of the
code, it does indicate th [...]
install {
repositories.mavenInstaller {
// This generates POM.xml with proper parameters
@@ -39,7 +39,7 @@ install {
}
developers {
developer {
- name 'Apache Weex(Incubating) PPMC'
+ name 'Apache Weex PPMC'
email mailingList
}
}