You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@weex.apache.org by ky...@apache.org on 2018/12/20 09:45:25 UTC

[incubator-weex] branch master updated: *[Android] add aliyun repo , for some net issue (#1947)

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 2d70355  *[Android] add aliyun repo , for some net issue (#1947)
2d70355 is described below

commit 2d703554c06d62d6694f8aff36d9015189956a1e
Author: chen <lu...@users.noreply.github.com>
AuthorDate: Thu Dec 20 17:45:21 2018 +0800

    *[Android] add aliyun repo , for some net issue (#1947)
---
 android/build.gradle     | 4 ++++
 android/sdk/build.gradle | 6 ++++++
 2 files changed, 10 insertions(+)

diff --git a/android/build.gradle b/android/build.gradle
index e78c562..2fe2adf 100644
--- a/android/build.gradle
+++ b/android/build.gradle
@@ -2,6 +2,8 @@
 buildscript {
     repositories {
         mavenLocal()
+        maven {url 'http://maven.aliyun.com/nexus/content/groups/public/'}
+        mavenCentral()
         jcenter()
     }
     dependencies {
@@ -17,6 +19,8 @@ plugins {
 subprojects {
     repositories {
         mavenLocal()
+        maven {url 'http://maven.aliyun.com/nexus/content/groups/public/'}
+        mavenCentral()
         jcenter()
         maven {
             url 'https://maven.google.com'
diff --git a/android/sdk/build.gradle b/android/sdk/build.gradle
index e8986f5..1dc2c19 100755
--- a/android/sdk/build.gradle
+++ b/android/sdk/build.gradle
@@ -18,6 +18,12 @@
  */
 
 buildscript {
+    repositories {
+        mavenLocal()
+        maven {url 'http://maven.aliyun.com/nexus/content/groups/public/'}
+        mavenCentral()
+        jcenter()
+    }
     dependencies {
         classpath 'com.android.tools.build:gradle:2.3.3'
         classpath 'com.vanniktech:gradle-android-junit-jacoco-plugin:0.5.0'