首页 > 移动平台 > 详细

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

时间:2021-04-10 15:56:59      阅读:20      评论:0      收藏:0      [点我收藏+]
 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文件最新配置

原文:https://www.cnblogs.com/MadScientist-okarin/p/14639640.html

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!