-
Notifications
You must be signed in to change notification settings - Fork 1
/
config.gradle
65 lines (54 loc) · 2.97 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 {
android = [
compileSdkVersion: 29,
buildToolsVersion: "29.0.3",
minSdkVersion : 18,
targetSdkVersion : 29,
versionCode : 1,
versionName : "1.0.0"
]
version = [
androidSupportSdkVersion: "28.0.0",
androidXSdkVersion : "1.1.0",
retrofitSdkVersion : "2.7.2",
dagger2SdkVersion : "2.26",
glideSdkVersion : "4.11.0",
butterknifeSdkVersion : "10.2.1",
rxlifecycleSdkVersion : "1.0",
rxlifecycle2SdkVersion : "2.2.2",
espressoSdkVersion : "3.0.1",
canarySdkVersion : "2.2",
]
dependencies = [
//kotlin
"core-ktx" : "androidx.core:core-ktx:${version["androidXSdkVersion"]}",
//androidx
"appcompat" : "androidx.appcompat:appcompat:${version["androidXSdkVersion"]}",
"design" : "com.google.android.material:material:${version["androidXSdkVersion"]}",
"legacy-support-v4" : "androidx.legacy:legacy-support-v4:1.0.0",
"cardview" : "androidx.cardview:cardview:1.0.0",
"annotations" : "androidx.annotation:annotation:${version["androidXSdkVersion"]}",
"recyclerview" : "androidx.recyclerview:recyclerview:${version["androidXSdkVersion"]}",
//rx2
"rxandroid2" : "io.reactivex.rxjava2:rxandroid:2.1.1",
"rxjava2" : "io.reactivex.rxjava2:rxjava:2.2.18",
"rxerrorhandler2" : "me.jessyan:rxerrorhandler:2.1.1",
"rxpermissions2" : "com.github.tbruyelle:rxpermissions:0.10.2",
//test
"junit" : "junit:junit:4.12",
"androidJUnitRunner": "androidx.test.runner.AndroidJUnitRunner",
"runner" : "com.android.support.test:runner:1.0.1",
"espresso-core" : "com.android.support.test.espresso:espresso-core:${version["espressoSdkVersion"]}",
"espresso-contrib" : "com.android.support.test.espresso:espresso-contrib:${version["espressoSdkVersion"]}",
"espresso-intents" : "com.android.support.test.espresso:espresso-intents:${version["espressoSdkVersion"]}",
"mockito-core" : "org.mockito:mockito-core:1.+",
"timber" : "com.jakewharton.timber:timber:4.7.1",
"logger" : "com.orhanobut:logger:2.2.0",
"canary-debug" : "com.squareup.leakcanary:leakcanary-android:${version["canarySdkVersion"]}",
"canary-release" : "com.squareup.leakcanary:leakcanary-android-no-op:1.6.3",
"umeng-analytics" : "com.umeng.analytics:analytics:6.0.1",
//bugly
"crashreport" : "com.tencent.bugly:crashreport:latest.release",
"nativecrashreport" : "com.tencent.bugly:nativecrashreport:latest.release"
]
}