赞
踩
- // 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
- }
-
对比效果:(楼主已验证)
8人点赞
。
Copyright © 2003-2013 www.wpsshop.cn 版权所有,并保留所有权利。