-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathconfig.gradle
More file actions
76 lines (65 loc) · 4.59 KB
/
config.gradle
File metadata and controls
76 lines (65 loc) · 4.59 KB
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
ext {
//使用1:在 project 下的 build.gradle 文件首行添加 apply from : "config.gradle"
// 2: 在各个 module 用 compile rootProject.ext.dependencies["recyclerview-v7"] 引入,注意 "recyclerview-v7"
// annotationProcessor rootProject.ext.dependencies["butterknife-compiler"]
android = [
applicationId : 'com.gyq.fast.fastme',
compileSdkVersion : 25,
buildToolsVersion : "25.0.3",
minSdkVersion : 16,
targetSdkVersion : 25,
versionCode : 1,
versionName : "1.0.0"
]
version = [
androidSupportSdkVersion: "25.3.1",
retrofitSdkVersion : "2.3.0",
dagger2SdkVersion : "2.10",
butterknifeSdkVersion : "8.8.1",
rxlifecycle2SdkVersion : "2.0.1",
espressoSdkVersion : "2.2.2",
]
dependencies = [
//support
"appcompat-v7" : "com.android.support:appcompat-v7:${version["androidSupportSdkVersion"]}",
"design" : "com.android.support:design:${version["androidSupportSdkVersion"]}",
"support-v4" : "com.android.support:support-v4:${version["androidSupportSdkVersion"]}",
"cardview-v7" : "com.android.support:cardview-v7:${version["androidSupportSdkVersion"]}",
"annotations" : "com.android.support:support-annotations:${version["androidSupportSdkVersion"]}",
"recyclerview-v7" : "com.android.support:recyclerview-v7:${version["androidSupportSdkVersion"]}",
"constraint" : "com.android.support.constraint:constraint-layout:1.0.2",
//adapter
"recyclerViewAdapter" : "com.github.CymChad:BaseRecyclerViewAdapterHelper:2.9.30",
//network
"retrofit" : "com.squareup.retrofit2:retrofit:${version["retrofitSdkVersion"]}",
"retrofit-converter-gson" : "com.squareup.retrofit2:converter-gson:${version["retrofitSdkVersion"]}",
"retrofit-adapter-rxjava" : "com.squareup.retrofit2:adapter-rxjava:${version["retrofitSdkVersion"]}",
"retrofit-adapter-rxjava2" : "com.squareup.retrofit2:adapter-rxjava2:${version["retrofitSdkVersion"]}",
"okhttp3" : "com.squareup.okhttp3:okhttp:3.8.0",
"okhttp-urlconnection" : "com.squareup.okhttp:okhttp-urlconnection:2.0.0",
//图片加载
"glide" : "com.github.bumptech.glide:glide:4.7.1",
"glide-compiler" : "com.github.bumptech.glide:compiler:4.7.1",
"picasso" : "com.squareup.picasso:picasso:2.5.2",
//view
"autolayout" : "com.zhy:autolayout:1.4.5",
"butterknife" : "com.jakewharton:butterknife:${version["butterknifeSdkVersion"]}",
"butterknife-compiler" : "com.jakewharton:butterknife-compiler:${version["butterknifeSdkVersion"]}",
"pickerview" : "com.contrarywind:Android-PickerView:3.2.5",
"photoview" : "com.github.chrisbanes.photoview:library:1.2.3",
"numberprogressbar" : "com.daimajia.numberprogressbar:library:1.2@aar",
"nineoldandroids" : "com.nineoldandroids:library:2.4.0",
"paginate" : "com.github.markomilos:paginate:0.5.1",
"vlayout" : "com.alibaba.android:vlayout:1.0.6@aar",
//rx2
"rxandroid2" : "io.reactivex.rxjava2:rxandroid:2.0.1",
"rxjava2" : "io.reactivex.rxjava2:rxjava:2.1.0",
"rxlifecycle2" : "com.trello.rxlifecycle2:rxlifecycle:${version["rxlifecycle2SdkVersion"]}",
"rxlifecycle2-components" : "com.trello.rxlifecycle2:rxlifecycle-components:${version["rxlifecycle2SdkVersion"]}",
"rxcache2" : "com.github.VictorAlbertos.RxCache:runtime:1.8.0-2.x",
"rxpermissions2" : "com.tbruyelle.rxpermissions2:rxpermissions:0.9.4@aar",
"rxerrorhandler2" : "me.jessyan:rxerrorhandler:2.0.2",
//工具类
"logger" : "com.orhanobut:logger:2.1.1",
]
}