赞
踩
- // Top-level build file where you can add configuration options common to all sub-projects/modules.
-
- buildscript {
- repositories {
- maven{url 'http://maven.aliyun.com/nexus/content/groups/public/'}
- maven { url "https://jitpack.io" }
- google()
- // jcenter()
- }
- dependencies {
- classpath 'com.android.tools.build:gradle:3.1.2'
- }
- }
-
- allprojects {
- repositories {
- // jcenter()
- maven{url 'http://maven.aliyun.com/nexus/content/groups/public/'}
- google()
- }
- }
-
- task clean(type: Delete) {
- delete rootProject.buildDir
- }
-
对比效果:(楼主已验证)
作者:KT_11
链接:https://www.jianshu.com/p/338860fc4921
来源:简书
简书著作权归作者所有,任何形式的转载都请联系作者获得授权并注明出处。
Copyright © 2003-2013 www.wpsshop.cn 版权所有,并保留所有权利。