-
Notifications
You must be signed in to change notification settings - Fork 280
/
Copy pathbuild.gradle
54 lines (50 loc) · 1.44 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
49
50
51
52
53
54
// Top-level build file where you can add configuration options common to all sub-projects/modules.
buildscript {
File secretPropsFile = project.rootProject.file('local.properties')
if (secretPropsFile.exists()) {
Properties p = new Properties()
p.load(new FileInputStream(secretPropsFile))
p.each { name, value ->
ext[name] = value
}
} else {
println("unable to find local.properties!")
}
repositories {
mavenLocal()
google()
mavenCentral()
jcenter()
}
dependencies {
classpath "com.android.tools.build:gradle:$agp_version"
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
classpath "org.jetbrains.dokka:dokka-gradle-plugin:0.10.0"
classpath "com.bytedance.btrace:rhea-gradle-plugin:$rhea_gradle_plugin_vesion"
// NOTE: Do not place your application dependencies here; they belong
// in the individual module build.gradle files
}
}
allprojects {
repositories {
mavenLocal()
google()
mavenCentral()
jcenter()
}
}
subprojects {
apply from: rootProject.file('./gradle/checkStyle.gradle')
}
ext {
versions = [
'compileSdk': 30,
'buildTools': '30.0.2',
'minSdk' : 16,
'targetSdk' : 30,
'ndkVersion': '21.1.6352462'
]
}
task clean(type: Delete) {
delete rootProject.buildDir
}