-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathconfig.gradle
108 lines (85 loc) · 5.7 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
99
100
101
102
103
104
105
106
107
108
ext {
API_LOCALE = "zh"//app语言环境(访问Api的参数)
APP_LOG_TAG = "App_jusenr_chat"//app打印日志的tag
VERSION_NUM = 0 //内部测试使用的小版本号
plugins = [
application: "com.android.application",
library : "com.android.library",
maven : "com.github.dcendents.android-maven",
bintray : "com.jfrog.bintray",
]
androids = [
compileSdkVersion : 25,
buildToolsVersion : "25.0.3",
minSdkVersion : 19,
targetSdkVersion : 25,
versionCode : 4,
versionName : "2.0.0",
applicationId : "com.jusenr.chat",
manifestPlaceholders: [UMENG_APPKEY_VALUE: "599ba26565b6d66b77001080",
APP_ID : "6666"]
]
versions = [
junitVersion : "4.12",
debugDbVersion : "1.0.0",
leakcanaryVersion : "1.5.1",
constraintVersion : "1.0.2",
androidSupportVersion : "25.3.1",
coreVersion : "3.3.0",
permissionVersion : "1.0.7",
ptlogVersion : "1.0.0",
agentwebVersion : "1.2.6",
tkrefreshlayoutVersion : "1.0.7",
rxjavaVersion : "1.2.9",
rxandroidVersion : "1.2.1",
frescoVersion : "1.2.0",
flexibledividerVersion : "1.2.6",
recyclerviewheader2Version: "2.0.1",
ultraPtrVersion : "1.0.9@aar",
picassoVersion : "2.5.2",
fastjsonVersion : "1.2.7",
gsonVersion : "2.8.0",
multidexVersion : "1.0.1",
butterknifeVersion : "8.5.1",
daggerVersion : "2.10",
]
dependencies = [
//test
junit : "junit:junit:${versions["junitVersion"]}",
debug_db : "com.amitshekhar.android:debug-db:${versions["debugDbVersion"]}",
leakcanary_android : "com.squareup.leakcanary:leakcanary-android:${versions["leakcanaryVersion"]}",
leakcanary_android_no_op : "com.squareup.leakcanary:leakcanary-android-no-op:${versions["leakcanaryVersion"]}",
constraint_layout : "com.android.support.constraint:constraint-layout:${versions["constraintVersion"]}",
appcompat_v7 : "com.android.support:appcompat-v7:${versions["androidSupportVersion"]}",
support_v13 : "com.android.support:support-v13:${versions["androidSupportVersion"]}",
support_annotations : "com.android.support:support-annotations:${versions["androidSupportVersion"]}",
recyclerview_v7 : "com.android.support:recyclerview-v7:${versions["androidSupportVersion"]}",
cardview_v7 : "com.android.support:cardview-v7:${versions["androidSupportVersion"]}",
design : "com.android.support:design:${versions["androidSupportVersion"]}",
percent : "com.android.support:percent:${versions["androidSupportVersion"]}",
core : "com.google.zxing:core:${versions["coreVersion"]}",
permission : "com.yanzhenjie:permission:${versions["permissionVersion"]}",
ptlog : "com.putao.mobile:ptlog:${versions["ptlogVersion"]}",
agentweb : "com.just.agentweb:agentweb:${versions["agentwebVersion"]}",
tkrefreshlayout : "com.lcodecorex:tkrefreshlayout:${versions["tkrefreshlayoutVersion"]}",
analytics : "com.umeng.analytics:analytics:latest.integration",
crashreport : "com.tencent.bugly:crashreport:latest.release",
nativecrashreport : "com.tencent.bugly:nativecrashreport:latest.release",
rxjava : "io.reactivex:rxjava:${versions["rxjavaVersion"]}",
rxandroid : "io.reactivex:rxandroid:${versions["rxandroidVersion"]}",
fresco : "com.facebook.fresco:fresco:${versions["frescoVersion"]}",
imagepipeline_okhttp3 : "com.facebook.fresco:imagepipeline-okhttp3:${versions["frescoVersion"]}",
recyclerview_flexibledivider: "com.yqritc:recyclerview-flexibledivider:${versions["flexibledividerVersion"]}",
recyclerviewheader2 : "com.bartoszlipinski:recyclerviewheader2:${versions["recyclerviewheader2Version"]}",
ultra_ptr : "in.srain.cube:ultra-ptr:${versions["ultraPtrVersion"]}",
picasso : "com.squareup.picasso:picasso:${versions["picassoVersion"]}",
fastjson : "com.alibaba:fastjson:${versions["fastjsonVersion"]}",
gson : "com.google.code.gson:gson:${versions["gsonVersion"]}",
multidex : "com.android.support:multidex:${versions["multidexVersion"]}",
butterknife : "com.jakewharton:butterknife:${versions["butterknifeVersion"]}",
dagger : "com.google.dagger:dagger:${versions["daggerVersion"]}",
//annotationProcessor
butterknife_compiler : "com.jakewharton:butterknife-compiler:${versions["butterknifeVersion"]}",
dagger_compiler : "com.google.dagger:dagger-compiler:${versions["daggerVersion"]}",
]
}