-
Notifications
You must be signed in to change notification settings - Fork 4
/
buildconfig.gradle
89 lines (73 loc) · 4.4 KB
/
buildconfig.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
ext {
compileSdkVersion = 27
buildToolsVersion = '27.0.3'
minSdkVersion = 21
targetSdkVersion = compileSdkVersion
supportLibVersion = '27.1.0'
versionCode = 100
versionNamePrefixT = "T_101_"
versionNamePrefixY = "Y_101_"
versionNamePrefixO = "O_101_"
versionNameSuffix = "_0000"
// appNameSuffix = "-v" + versionCode
/**support:BXNT_101_NATION*/
// versionName = versionNamePrefixO + versionCode + versionNameSuffix
versionName = versionCode + versionNameSuffix
dependencies = [
// ------------- Android -------------
supportV4 : "com.android.support:support-v4:${supportLibVersion}",
appcompatV7 : "com.android.support:appcompat-v7:${supportLibVersion}",
supportannotations : "com.android.support:support-annotations:${supportLibVersion}",
design : "com.android.support:design:${supportLibVersion}",
cardviewv7 : "com.android.support:cardview-v7:${supportLibVersion}",
recyclerviewv7 : "com.android.support:recyclerview-v7:${supportLibVersion}",
multidexVersion : "com.android.support:multidex:1.0.1",
junit : "junit:junit:4.12",
//------------- 测试 -------------
espresso : "com.android.support.test.espresso:espresso-core:2.2.2",
// ------------- 网络请求 -------------
okhttpVersion : "com.squareup.okhttp3:okhttp:3.4.1",
okhttploggerinter : "com.squareup.okhttp3:logging-interceptor:3.4.1",
okioVersion : "com.squareup.okio:okio:1.9.0",
retrofit : "com.squareup.retrofit2:retrofit:2.3.0",
retrofitconverters : "com.squareup.retrofit2:retrofit-converters:2.3.0",
retrofitgconverter : "com.squareup.retrofit2:converter-gson:2.3.0",
// ------------- 图片加载 -------------
fresco : "com.facebook.fresco:fresco:0.11.0",
animatedGif : "com.facebook.fresco:animated-gif:0.12.0",
picasso : "com.squareup.picasso:picasso:2.5.2",
photoView : "com.github.chrisbanes:PhotoView:2.1.3",
nineoldandroids : "com.nineoldandroids:library:2.4.0",
zxing : "com.google.zxing:core:3.2.1",
glide37 : "com.github.bumptech.glide:glide:3.8.0",
/*glide41 : "com.github.bumptech.glide:glide:4.1.1",*/
/*glideAnnProcessor : "com.github.bumptech.glide:compiler:4.1.1",*/
// ------------- RxAndroid -------------
rxAndroid : "io.reactivex:rxandroid:1.2.1",
rxJava : "io.reactivex:rxjava:1.2.2",
adapterrxjava : "com.squareup.retrofit2:adapter-rxjava:2.1.0",
// ------------- json解析 -------------
fastJson : "com.alibaba:fastjson:1.1.56.android",
gsonJson : "com.google.code.gson:gson:2.8.1",
// ------------- log打印工具 -------------
logger : "com.orhanobut:logger:1.15",
// ------------- 数据库工具 -------------
greendao : "org.greenrobot:greendao:3.2.2",
generator : "org.greenrobot:greendao-generator:3.2.2",
// ------------- ButterKnife -------------
butterknife : "com.jakewharton:butterknife:8.4.0",
butterknifeCompiler : "com.jakewharton:butterknife-compiler:8.4.0",
// ------------- LeakCanary -------------
leakcanaryAndroid : "com.squareup.leakcanary:leakcanary-android:1.5",
leakcanaryAndroidNoOp: "com.squareup.leakcanary:leakcanary-android-no-op:1.5",
// ------------- 高德地图 -------------
gaode3d : 'com.amap.api:3dmap:latest.integration',
gaode2d : 'com.amap.api:map2d:latest.integration',
//定位功能
gaodelocation : 'com.amap.api:location:latest.integration',
//搜索功能
gaodesearch : 'com.amap.api:search:latest.integration',
// ------------- BaseRecyclerViewAdapterHelper -------------
baseadapter : 'com.github.CymChad:BaseRecyclerViewAdapterHelper:2.9.22',
]
}