-
Notifications
You must be signed in to change notification settings - Fork 1
/
dependencies.gradle
40 lines (39 loc) · 1.94 KB
/
dependencies.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 {
minSdkVersion = 18
targetSdkVersion = 27
compileSdkVersion = 27
buildToolsVersion = '27.0.3'
}
//共用的依赖库
def support = '25.3.1'
def retrofit = '2.3.0'
ext.deps = [
//test
robolectric : 'org.robolectric:robolectric:3.6.1',
junit : 'junit:junit:4.12',
//dev
supportv4 : "com.android.support:support-v4:$support",
appcompatv7 : "com.android.support:appcompat-v7:$support",
support_annotations : "com.android.support:support-annotations:$support",
recyclerviewv7 : "com.android.support:recyclerview-v7:$support",
cardviewv7 : "com.android.support:cardview-v7:$support",
design : "com.android.support:design:$support",
gridlayoutv7 : "com.android.support:gridlayout-v7:$support",
//https://github.com/trello/RxLifecycle
rxlifecycle : 'com.trello:rxlifecycle:1.0',
rxlifecycle_android : 'com.trello:rxlifecycle-android:1.0',
//https://github.com/ReactiveX/RxJava
rxjava : 'io.reactivex:rxjava:1.3.0',
//https://github.com/ReactiveX/RxAndroid
rxandroid : 'io.reactivex:rxandroid:1.2.1',
//https://github.com/orhanobut/logger
logger : 'com.orhanobut:logger:1.8',
//https://github.com/square/retrofit
retrofit : "com.squareup.retrofit2:retrofit:$retrofit",
retrofit_adapter_rxjava : "com.squareup.retrofit2:adapter-rxjava:$retrofit",
//https://github.com/square/okhttp
okhttp : 'com.squareup.okhttp3:okhttp:3.9.1',
//https://github.com/bumptech/glide
glide : 'com.github.bumptech.glide:glide:3.8.0',
glide_okhttp3_integration:'com.github.bumptech.glide:okhttp3-integration:1.5.0',
]