This repository has been archived by the owner on Feb 2, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 5
/
Copy pathbuild.gradle
57 lines (49 loc) · 1.56 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
55
56
57
buildscript {
ext.versions = [
// SDK
'compileSdk' : 30,
'minSdk' : 21,
'targetSdk' : 30,
'kotlin' : '1.4.21',
'coroutines' : '1.3.3',
'AndResGuard' : '1.2.20',
// 测试
'junit' : '4.13',
'extJunit' : '1.1.1',
'espresso' : '3.2.0',
// 功能
'appcompat' : '1.2.0',
'androidxArch' : '2.1.0',
'lifecycle' : '2.2.0',
'navigation' : '2.3.0',
'room' : '2.2.5',
'coreKtx' : '1.3.1',
'preference' : '1.1.1',
'gson' : '2.8.5',
'jsoup' : '1.13.1',
'okhttp' : '4.8.1',
'retrofit' : '2.9.0',
'constraintLayout': '2.0.2',
'material' : '1.3.0-alpha02',
'recyclerView' : '1.1.0',
]
repositories {
google()
jcenter()
}
dependencies {
classpath 'com.android.tools.build:gradle:4.1.1'
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:${versions.kotlin}"
classpath "androidx.navigation:navigation-safe-args-gradle-plugin:${versions.navigation}"
classpath "com.tencent.mm:AndResGuard-gradle-plugin:${versions.AndResGuard}"
}
}
allprojects {
repositories {
google()
jcenter()
}
}
task clean(type: Delete) {
delete rootProject.buildDir
}