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 2020/03/15 04:12:21 UTC

[incubator-weex] branch master updated: Refactor: Remove Maven mirror in Aliyun for speed. (#3168)

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 9ba8676  Refactor: Remove Maven mirror in Aliyun for speed. (#3168)
9ba8676 is described below

commit 9ba8676aef80706e9eaa1833ed2f53d95782148b
Author: YorkShen <sh...@gmail.com>
AuthorDate: Sun Mar 15 12:12:09 2020 +0800

    Refactor: Remove Maven mirror in Aliyun for speed. (#3168)
    
    1. Remove Maven mirror in Aliyun for TravisCI speed purpose
    2. Update weex-playground to latest.
    3. Ugrade support library to 28
---
 .travis.yml          | 10 +++++-----
 android/build.gradle | 27 ++++-----------------------
 weex-playground      |  2 +-
 3 files changed, 10 insertions(+), 29 deletions(-)

diff --git a/.travis.yml b/.travis.yml
index cf07b92..ebeb24e 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -16,7 +16,7 @@ matrix:
         jdk: oraclejdk8
         android:
           components:
-            - android-26
+            - android-28
             - extra-android-m2repository
       - env: TEST_SUITE=android ABI=arm64-v8a
         language: android
@@ -24,7 +24,7 @@ matrix:
         jdk: oraclejdk8
         android:
           components:
-            - android-26
+            - android-28
             - extra-android-m2repository
       - env: TEST_SUITE=android ABI=x86
         language: android
@@ -32,7 +32,7 @@ matrix:
         jdk: oraclejdk8
         android:
           components:
-            - android-26
+            - android-28
             - extra-android-m2repository 
       - env: TEST_SUITE=android ABI=x86_64
         language: android
@@ -40,7 +40,7 @@ matrix:
         jdk: oraclejdk8
         android:
           components:
-            - android-26
+            - android-28
             - extra-android-m2repository 
       # static check
       - env: TEST_SUITE=static_code_analysis OCLINT=true
@@ -53,7 +53,7 @@ matrix:
         jdk: oraclejdk8
         android:
           components:
-            - android-26
+            - android-28
             - extra-android-m2repository
         
 cache:
diff --git a/android/build.gradle b/android/build.gradle
index 8898559..8dea6a0 100644
--- a/android/build.gradle
+++ b/android/build.gradle
@@ -19,12 +19,7 @@
 buildscript {
     repositories {
         google()
-        maven(){
-            url 'https://maven.aliyun.com/repository/google'
-        }
-        jcenter(){
-            url 'https://maven.aliyun.com/repository/jcenter'
-        }
+        jcenter()
     }
     dependencies {
         classpath 'com.android.tools.build:gradle:3.3.2'
@@ -44,12 +39,7 @@ subprojects {
             }
         }
         google()
-        maven(){
-            url 'https://maven.aliyun.com/repository/google'
-        }
-        jcenter(){
-            url 'https://maven.aliyun.com/repository/jcenter'
-        }
+        jcenter()
     }
     buildscript {
         dependencies {
@@ -58,12 +48,7 @@ subprojects {
         }
         repositories {
             google()
-            maven(){
-                url 'https://maven.aliyun.com/repository/google'
-            }
-            jcenter(){
-                url 'https://maven.aliyun.com/repository/jcenter'
-            }
+            jcenter()
         }
     }
 }
@@ -71,7 +56,7 @@ ext {
     compileSdkVersion=28
     minSdkVersion=14
     targetSdkVersion=28
-    supportLibVersion="26.0.2"
+    supportLibVersion="28.0.0"
     fastjsonLibVersion="1.1.70.android"
     //Default value for disableCov is false
     disableCov = project.hasProperty("disableCov") && disableCov.equals("true")
@@ -82,7 +67,3 @@ ext {
     weexVersion = project.hasProperty('weexVersion') ? project.getProperty('weexVersion') : '0.28.0.1'
     implementFromWeex = true
 }
-
-//task clean(type: Delete) {
-//    delete rootProject.buildDir
-//}
diff --git a/weex-playground b/weex-playground
index 7fe693d..52756cb 160000
--- a/weex-playground
+++ b/weex-playground
@@ -1 +1 @@
-Subproject commit 7fe693dde0f6710553f08840be785392209c611d
+Subproject commit 52756cb4b90f9706b4c5af3e45bacf4bc3821c5f