-
Notifications
You must be signed in to change notification settings - Fork 36
/
config.gradle
98 lines (86 loc) · 6.5 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
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
ext {
android = [
compileSdkVersion : 28,
buildToolsVersion : "28.0.0",
minSdkVersion : 21,
targetSdkVersion : 28,
versionCode : 7,
versionName : "1.0.6",
renderscriptTargetApi : 21
]
version = [
supportLibraryVersion : "28.0.0",
smartrefreshVersion : "1.1.0-alpha-25",
okhttpVersion : "3.12.0",
retrofitVersion : "2.3.0",
glideVersion : "4.8.0",
daggerVersion : "2.22.1",
butterknifeVersion : "8.8.1",
fragmentationVersion : "1.3.6",
]
dependencies = [
//base
"appcompat-v7" : "com.android.support:appcompat-v7:${version["supportLibraryVersion"]}",
"cardview-v7" : "com.android.support:cardview-v7:${version["supportLibraryVersion"]}",
"support-v4" : "com.android.support:support-v4:${version["supportLibraryVersion"]}",
"design" : "com.android.support:design:${version["supportLibraryVersion"]}",
"recyclerview" : "com.android.support:recyclerview-v7:${version["supportLibraryVersion"]}",
"constraint-layout" : "com.android.support.constraint:constraint-layout:1.1.3",
//ui
"SmartRefreshLayout" : "com.scwang.smartrefresh:SmartRefreshLayout:${version["smartrefreshVersion"]}",
"SmartRefreshHeader" : "com.scwang.smartrefresh:SmartRefreshHeader:${version["smartrefreshVersion"]}",
"convenientbanner" : "com.bigkoo:ConvenientBanner:2.1.4",
"flexibleflowlayout" : "com.mao:flexibleflowlayout:1.0.0",
"verticalTabLayout" : "q.rorbin:VerticalTabLayout:1.2.9",
"agentweb" : "com.just.agentweb:agentweb:4.0.3-beta",
//net
"gson" : "com.google.code.gson:gson:2.8.2",
"okhttp" : "com.squareup.okhttp3:okhttp:${version["okhttpVersion"]}",
"logging-interceptor" : "com.squareup.okhttp3:logging-interceptor:${version["okhttpVersion"]}",
"retrofit" : "com.squareup.retrofit2:retrofit:${version["retrofitVersion"]}",
"converter-gson" : "com.squareup.retrofit2:converter-gson:${version["retrofitVersion"]}",
"converter-scalars" : "com.squareup.retrofit2:converter-scalars:${version["retrofitVersion"]}",
"adapter-rxjava2" : "com.squareup.retrofit2:adapter-rxjava2:${version["retrofitVersion"]}",
"glide" : "com.github.bumptech.glide:glide:${version["glideVersion"]}",
"glide_compiler" : "com.github.bumptech.glide:compiler:${version["glideVersion"]}",
//dao
"greendao" : "org.greenrobot:greendao:3.2.2",
//rx
"rxjava" : "io.reactivex.rxjava2:rxjava:2.1.7",
"rxandroid" : "io.reactivex.rxjava2:rxandroid:2.0.1",
"rxbinding" : "com.jakewharton.rxbinding2:rxbinding:2.1.0",
"rxpermissions" : "com.tbruyelle.rxpermissions2:rxpermissions:0.9.5@aar",
"rxlifecycle" : "com.trello.rxlifecycle2:rxlifecycle-components:2.2.2",
//di
"dagger" : "com.google.dagger:dagger:${version["daggerVersion"]}",
"dagger-compiler" : "com.google.dagger:dagger-compiler:${version["daggerVersion"]}",
"dagger-android" : "com.google.dagger:dagger-android:${version["daggerVersion"]}",
"dagger-android-support" : "com.google.dagger:dagger-android-support:${version["daggerVersion"]}",
"dagger-android-processor" : "com.google.dagger:dagger-android-processor:${version["daggerVersion"]}",
"javax_annotation" : "org.glassfish:javax.annotation:10.0-b28",
"butterknife" : "com.jakewharton:butterknife:${version["butterknifeVersion"]}",
"butterknife-compiler" : "com.jakewharton:butterknife-compiler:${version["butterknifeVersion"]}",
//multidex
"multidex" : "com.android.support:multidex:1.0.3",
//kotlin
"kotlin-stdlib" : "org.jetbrains.kotlin:kotlin-stdlib:1.2.10",
//other
"lottie" : "com.airbnb.android:lottie:2.7.0",
"BaseRecyclerViewAdapterHelper" : "com.github.CymChad:BaseRecyclerViewAdapterHelper:2.9.44",
"fragmentation" : "me.yokeyword:fragmentation:${version["fragmentationVersion"]}",
"fragmentation-swipeback" : "me.yokeyword:fragmentation-swipeback:${version["fragmentationVersion"]}",
"crashreport_upgrade" : "com.tencent.bugly:crashreport_upgrade:latest.release",
"logger" : "com.orhanobut:logger:2.1.1",
"ByeBurger" : "com.github.githubwing:ByeBurger:1.2.3",
"stetho" : "com.facebook.stetho:stetho:1.5.0",
"stetho-okhttp3" : "com.facebook.stetho:stetho-okhttp3:1.4.2",
//ui test
"espresso-core" : "com.android.support.test.espresso:espresso-core:3.0.2",
"espresso-idling-resource" : "com.android.support.test.espresso:espresso-idling-resource:3.0.2",
"espresso-contrib" : "com.android.support.test.espresso:espresso-contrib:3.0.2",
"espresso-intents" : "com.android.support.test.espresso:espresso-intents:3.0.2",
"espresso-accessibility" : "com.android.support.test.espresso:espresso-accessibility:3.0.2",
"espresso-web" : "com.android.support.test.espresso:espresso-web:3.0.2",
"idling-concurrent" : "com.android.support.test.espresso.idling:idling-concurrent:3.0.2",
]
}