-
Notifications
You must be signed in to change notification settings - Fork 0
/
config.gradle
51 lines (49 loc) · 3.3 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
ext {
android = [compileSdkVersion: 30,
buildToolsVersion: "30.0.3",
minSdkVersion : 19,
targetSdkVersion : 30
]
dependVersion = [
androidx : "1.3.2",
material : "1.3.0",
appcompat : "1.3.0",
retrofit2 : "2.6.2",
butterknife: "10.2.0",
]
dependencies = [ // ------------- Android -------------
"appcompat" : "androidx.appcompat:appcompat:${dependVersion.appcompat}",
"core-ktx" : "androidx.core:core-ktx:${dependVersion.androidx}",
"material" : "com.google.android.material:material:${dependVersion.material}",
// "recyclerview" : "androidx.recyclerview:recyclerview:1.1.0-rc01",
// "cardview" : "androidx.cardview:cardview:1.0.0",
"constraint-layout" : "androidx.constraintlayout:constraintlayout:2.0.4",
// ------------- 网络请求 -------------
"retrofit2" : "com.squareup.retrofit2:retrofit:${dependVersion.retrofit2}",
"logging-interceptor" : 'com.squareup.okhttp3:logging-interceptor:4.2.2',
"adapter-rxjava2" : "com.squareup.retrofit2:adapter-rxjava2:${dependVersion.retrofit2}",
"converter-gson" : "com.squareup.retrofit2:converter-gson:${dependVersion.retrofit2}",
// ------------- 图片加载 -------------
"glide" : 'com.github.bumptech.glide:glide:4.7.1',
// ------------- RxAndroid -------------
"rxjava" : 'io.reactivex.rxjava2:rxjava:2.2.14',
"rxandroid" : 'io.reactivex.rxjava2:rxandroid:2.1.1',
// ------------- json解析 -------------
"gson" : 'com.google.code.gson:gson:2.8.6',
// ------------- log打印工具 -------------
"logger" : 'com.orhanobut:logger:1.15',
// ------------- ButterKnife -------------
"butterknife" : "com.jakewharton:butterknife:${dependVersion.butterknife}",
"butterknife-compiler" : "com.jakewharton:butterknife-compiler:${dependVersion.butterknife}",
// ------------- LeakCanary -------------
"leakcanary-android" : 'com.squareup.leakcanary:leakcanary-android:1.5',
"leakcanary-android-no-op": 'com.squareup.leakcanary:leakcanary-android-no-op:1.5',
// ------------- 沉浸式状态栏、右滑返回 -------------
"statusbarUitl" : 'com.jaeger.statusbarutil:library:1.5.1',
// ------------- Test -------------
"junit" : 'junit:junit:4.12',
"ext-junit" : 'androidx.test.ext:junit:1.1.1',
"runner" : 'com.android.support.test:runner:1.0.2',
"espresso-core" : 'com.android.support.test.espresso:espresso-core:3.0.2'
]
}