-
Notifications
You must be signed in to change notification settings - Fork 47
/
Copy pathconfig.gradle
40 lines (34 loc) · 1.58 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
/**
* 全局统一配置
*/
ext {
/**
* 版本统一管理
*/
versions = [
applicationId : "com.hailong.biometricprompt", //应用ID
versionCode : 100, //版本号
versionName : "1.0", //版本名称
compileSdkVersion : 29,
minSdkVersion : 19,
targetSdkVersion : 29,
androidSupportSdkVersion: "29.0.0",
appcompatVersion : "1.0.0",
constraintlayoutVersion : "1.1.3",
junitVersion : "4.12",
runnerVersion : "1.1.0",
espressoVersion : "3.1.0",
annotationsVersion : "29.0.0",
biometricpromptVersion : "1.0"
]
dependencies = [
"appcompat" : "androidx.appcompat:appcompat:${versions["appcompatVersion"]}",
"constraintlayout" : "androidx.constraintlayout:constraintlayout:${versions["constraintlayoutVersion"]}",
"runner" : "androidx.test:runner:${versions["runnerVersion"]}",
"espresso_core" : "androidx.test.espresso:espresso-core:${versions["espressoVersion"]}",
"junit" : "junit:junit:${versions["junitVersion"]}",
//注释处理器
"support_annotations": "com.android.support:support-annotations:${versions["annotationsVersion"]}",
"biometricprompt" : "com.github.ZuoHailong:BiometricPrompt:${versions["biometricpromptVersion"]}"
]
}