笔者Android studio中build.gradle文件最新配置

 1 // Top-level build file where you can add configuration options common to all sub-projects/modules.
 2 
 3 buildscript {
 4     repositories {
 5         jcenter() {url "https://maven.aliyun.com/repository/jcenter"}
 6         maven {url ‘https://maven.aliyun.com/repository/google/‘}
 7     }
 8     dependencies {
 9         classpath ‘com.android.tools.build:gradle:4.1.0‘
10 
11         // NOTE: Do not place your application dependencies here; they belong
12         // in the individual module build.gradle files
13     }
14 }
15 
16 allprojects {
17     repositories {
18         jcenter() {url "https://maven.aliyun.com/repository/jcenter"}
19         maven { url ‘https://maven.aliyun.com/repository/google/‘ }
20     }
21 }
22 
23 task clean(type: Delete) {
24     delete rootProject.buildDir
25 }

 

笔者Android studio中build.gradle文件最新配置

上一篇:RDS for MySQL Mysqldump 常见问题和处理


下一篇:apply、call、bind方法使用及异同