-
Notifications
You must be signed in to change notification settings - Fork 11
Expand file tree
/
Copy pathbuild.gradle
More file actions
30 lines (28 loc) · 870 Bytes
/
build.gradle
File metadata and controls
30 lines (28 loc) · 870 Bytes
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
buildscript {
//注意:加上这句,Config中关于Gradle的统一设置才能生效
apply from: "config.gradle"
repositories {
maven { url = "http://maven.aliyun.com/nexus/content/groups/public/" }
google()
jcenter()
}
dependencies {
classpath 'com.android.tools.build:gradle:3.6.4'
classpath 'com.github.dcendents:android-maven-gradle-plugin:2.1'
// ButterKnife
classpath 'com.jakewharton:butterknife-gradle-plugin:9.0.0-rc2'
// Needed for gRPC
classpath 'com.google.protobuf:protobuf-gradle-plugin:0.8.17'
}
}
allprojects {
repositories {
maven { url = "http://maven.aliyun.com/nexus/content/groups/public/" }
google()
jcenter()
maven { url "https://jitpack.io" }
}
}
task clean(type: Delete) {
delete rootProject.buildDir
}