-
Notifications
You must be signed in to change notification settings - Fork 188
/
build.gradle
48 lines (44 loc) · 1.4 KB
/
build.gradle
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
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
// Top-level build file where you can add configuration options common to all sub-projects/modules.
buildscript {
apply from: rootProject.file("gradle/config.gradle")
repositories {
google()
jcenter()
if ("true".equalsIgnoreCase(System.getProperty('useLocalMaven', "false"))) {
println "use local repo"
mavenLocal()
} else {
println "use remove repo"
maven { url findProperty("RELEASE_REPOSITORY_URL") }
maven { url findProperty("SNAPSHOT_REPOSITORY_URL") }
}
maven {
url "https://plugins.gradle.org/m2/"
}
}
dependencies {
classpath deps.plugin.digital
classpath deps.plugin.shadow
classpath deps.plugin['bintray-plugin']
classpath deps.gradle.agp
classpath deps.kotlin.plugin
if ("true".equalsIgnoreCase(System.getProperty("enableAabResGuardPlugin", "false"))) {
classpath deps.aabresguard.plugin
}
}
}
allprojects {
repositories {
google()
jcenter()
if ("true".equalsIgnoreCase(System.getProperty('useLocalMaven', "false"))) {
mavenLocal()
} else {
maven { url findProperty("RELEASE_REPOSITORY_URL") }
maven { url findProperty("SNAPSHOT_REPOSITORY_URL") }
}
}
}
task clean(type: Delete) {
delete rootProject.buildDir
}