-
Notifications
You must be signed in to change notification settings - Fork 9
/
Copy pathbuild.gradle
45 lines (39 loc) · 1.3 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
// Top-level build file where you can add configuration options common to all sub-projects/modules.
buildscript {
ext.versions = [
'playcore' : '1.7.3',
'kotlin' : '1.7.10',
'compileSdk' : 31,
'minSdk' : 19,
'targetSdk' : 31,
'buildTools' : '31.0.0',
'appcompat' : '1.1.0',
'material' : '1.1.0',
'ktx' : '1.3.0',
'constraintlayout' : '1.1.3',
'aabresguard' : '0.1.10'
]
repositories {
google()
mavenCentral()
maven {
url 'https://raw.githubusercontent.com/martinloren/AabResGuard/mvn-repo' // aabResGuard 适配 AGP 7.x 问题
}
}
dependencies {
classpath 'com.android.tools.build:gradle:7.2.2'
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:${versions.kotlin}"
classpath "com.bytedance.android:aabresguard-plugin:0.1.10"
// NOTE: Do not place your application dependencies here; they belong
// in the individual module build.gradle files
}
}
allprojects {
repositories {
google()
mavenCentral()
}
}
task clean(type: Delete) {
delete rootProject.buildDir
}