From bf0b83010d9ca75feaf2ef806d34f657fb8c4a18 Mon Sep 17 00:00:00 2001 From: Zhenjie Yan Date: Fri, 6 Mar 2020 15:24:48 +0800 Subject: [PATCH] Upgrade android plugin for gradle. --- build.gradle | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/build.gradle b/build.gradle index 4277d04..9cf793f 100644 --- a/build.gradle +++ b/build.gradle @@ -3,13 +3,14 @@ apply from: "config.gradle" buildscript { repositories { - google() + google { url 'https://maven.aliyun.com/repository/google' } jcenter { url 'https://maven.aliyun.com/repository/jcenter' } + google() jcenter() } dependencies { - classpath 'com.android.tools.build:gradle:3.5.1' + classpath 'com.android.tools.build:gradle:3.6.1' classpath 'com.github.dcendents:android-maven-gradle-plugin:2.1' classpath 'com.jfrog.bintray.gradle:gradle-bintray-plugin:1.8.4' } @@ -17,8 +18,9 @@ buildscript { allprojects { repositories { - google() + google { url 'https://maven.aliyun.com/repository/google' } jcenter { url 'https://maven.aliyun.com/repository/jcenter' } + google() jcenter() } }