-
Notifications
You must be signed in to change notification settings - Fork 8
Expand file tree
/
Copy pathbuild.gradle
More file actions
30 lines (27 loc) · 1.01 KB
/
Copy pathbuild.gradle
File metadata and controls
30 lines (27 loc) · 1.01 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
// Top-level build file where you can add configuration options common to all sub-projects/modules.
buildscript {
repositories {
// 其他仓库...
maven { url = uri('https://maven.aliyun.com/repository/google') }
maven { url = uri('https://maven.aliyun.com/repository/jcenter') }
maven { url = uri('https://maven.aliyun.com/repository/public' )}
maven {url = uri('https://dl.bintray.com/jetbrains/anko')}
google()
}
dependencies {
// 其他插件...
classpath 'com.android.tools.build:gradle:8.2.0' // 请使用适合你项目的版本
}
}
allprojects {
repositories {
maven { url = uri('https://maven.aliyun.com/repository/google') }
maven { url = uri('https://maven.aliyun.com/repository/jcenter') }
maven { url = uri('https://maven.aliyun.com/repository/public') }
maven {url = uri('https://dl.bintray.com/jetbrains/anko')}
google()
}
}
tasks.register("clean", Delete) {
delete = ['build']
}