-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathconfig.gradle
65 lines (52 loc) · 2.19 KB
/
config.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
58
59
60
61
62
63
64
65
// 添加多个自定义属性
ext {
username = "sam"
isRelease = true
kotlin_version = "1.4.10"
javaVersion = JavaVersion.VERSION_1_8
jvmTarget = '1.8'
// 建立Map存储
androidId = [
compileSdkVersion: 30,
buildToolsVersion: "30.0.2",
minSdkVersion : 21,
targetSdkVersion : 30,
versionCode : 1,
versionName : "1.0"
]
appId = [
app : "com.test.devilsen.test",
uiTest : "com.test.devilsen.uiTest",
jetpack: "com.test.devilsen.jetpack",
library: "com.test.devilsen.debug"
]
url = [
debug : "https://www.debug.com",
release: "https://www.release.com"
]
androidX = "1.2.0"
androidXDependencies = [
appcompat : "androidx.appcompat:appcompat:${androidX}",
ktxcore : "androidx.core:core-ktx:${androidX}",
recyclerView : 'androidx.recyclerview:recyclerview:1.1.0',
material : "com.google.android.material:material:1.2.1",
constraintlayout: "androidx.constraintlayout:constraintlayout:2.0.3",
exifinterface : "androidx.exifinterface:exifinterface:1.2.0"
]
junit = "junit:junit:4.13.1"
testCore = "1.2.0"
espresso = "3.3.0"
androidTest = [
core : "androidx.test:core:${testCore}",
truth : "androidx.test.ext:truth:${testCore}",
junit : "androidx.test.ext:junit:1.1.2",
runner : "androidx.test:runner:${testCore}",
rules : "androidx.test:rules:${testCore}",
espressoCore : "androidx.test.espresso:espresso-core:${espresso}",
espressoIntents : "androidx.test.espresso:espresso-intents:${espresso}",
espressoContrib : "androidx.test.espresso:espresso-contrib:${espresso}",
espressoIdlingResource: "androidx.test.espresso:espresso-idling-resource:${espresso}"
]
kotlinStdlib = "org.jetbrains.kotlin:kotlin-stdlib:${kotlin_version}"
glide = "com.github.bumptech.glide:glide:3.8.0"
}