forked from qiyei2015/EssayJoke
-
Notifications
You must be signed in to change notification settings - Fork 0
/
config.gradle
157 lines (135 loc) · 4.52 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
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
// project config
/**
* 定义一些公共变量 ext 为闭包
*/
ext{
/**
* 是否是Module 每次更改“isModule”的值后,需要点击 "Sync Project" 按钮
*/
isModule = false
/**
* 公共部分
*/
common = [
compileSdkVersion: 27,
buildToolsVersion: '27.0.3',
minSdkVersion : 19,
targetSdkVersion : 27,
]
/**
* EssayJokeApp
*/
EssayJokeApp = {
applicationId = "com.qiyei.essayjoke"
versionCode = 1
versionName = "1.0"
}
/**
* AppDemo
*/
AppDemo = [
applicationId :"com.qiyei.appdemo",
versionCode :1,
versionName :"1.0",
]
// buildTypes = {
// release = {
// minifyEnabled = true // 开启混淆
// zipAlignEnabled = true // 对齐zip
// shrinkResources = false // 删除无用资源
// debuggable = false // 是否debug
// versionNameSuffix = "_release" // 版本命名后缀
// }
//
// debug = {
// zipAlignEnabled = false
// shrinkResources = false
// minifyEnabled = false
// versionNameSuffix = "_debug"
//// signingConfig = signingConfigs.debug
// }
// }
// /**
// * 签名配置
// */
// signingConfigs {
// //正式版签名
// release {
// keyAlias 'qiyei2015'
// keyPassword '510726'
// storeFile file('../android_keystore.jks')
// storePassword '510726'
// }
//
// //调试版签名
// debug {
//
// }
// }
/**
* Android 公共依赖
*/
com_android_support_appcompat_v7 = 'com.android.support:appcompat-v7:27.1.1'
com_android_support_constraint_constraint_layout = 'com.android.support.constraint:constraint-layout:1.1.2'
com_android_support_design = 'com.android.support:design:27.1.1'
com_android_support_recyclerview_v7 = 'com.android.support:recyclerview-v7:26.0.0'
com_android_support_multidex = 'com.android.support:multidex:1.0.3'
/**
* Android架构组件
*/
android_arch_lifecycle_runtime = "android.arch.lifecycle:runtime:1.1.0"
android_arch_lifecycle_extensions = "android.arch.lifecycle:extensions:1.1.0"
android_arch_lifecycle_compiler = "android.arch.lifecycle:compiler:1.1.0"
android_arch_persistence_room_runtime = "android.arch.persistence.room:runtime:1.1.0"
android_arch_persistence_room_compiler = "android.arch.persistence.room:compiler:1.1.0"
android_arch_persistence_room_testing = "android.arch.persistence.room:testing:1.1.0"
/**
* google
*/
com_google_auto_service_auto_service = 'com.google.auto.service:auto-service:1.0-rc4'
com_google_code_gson_gson = 'com.google.code.gson:gson:2.8.0'
com_google_dagger_dagger = 'com.google.dagger:dagger:2.16'
com_google_dagger_dagger_compiler = 'com.google.dagger:dagger-compiler:2.16'
/**
* Facebook
*/
com_facebook_react_react_native = "com.facebook.react:react-native:+"
/**
* squareup
*/
// java代码编写开源库
com_squareup_javapoet = 'com.squareup:javapoet:1.7.0'
com_squareup_okhttp3_okhttp = 'com.squareup.okhttp3:okhttp:3.10.0'
com_squareup_retrofit2_retrofit = 'com.squareup.retrofit2:retrofit:2.3.0'
com_squareup_retrofit2_converter_gson = 'com.squareup.retrofit2:converter-gson:2.3.0'
com_squareup_retrofit2_adapter_rxjava2 = 'com.squareup.retrofit2:adapter-rxjava2:2.3.0'
/**
* Rxjava
*/
io_reactivex_rxjava2_rxjava = 'io.reactivex.rxjava2:rxjava:2.1.12'
io_reactivex_rxjava2_rxandroid = 'io.reactivex.rxjava2:rxandroid:2.0.2'
/**
* Glide
*/
com_github_bumptech_glide_glide = 'com.github.bumptech.glide:glide:3.7.0'
/**
* greenDao
*/
org_greenrobot_greendao = 'org.greenrobot:greendao:3.2.2'
/**
* alibaba
*/
//热修复
com_aliyun_ams_alicloud_android_hotfix = 'com.aliyun.ams:alicloud-android-hotfix:3.1.3'
//ARouter
com_alibaba_arouter_compiler = 'com.alibaba:arouter-compiler:1.1.4'
com_alibaba_arouter_api = 'com.alibaba:arouter-api:1.3.1'
// ?
com_makeramen_roundedimageview = 'com.makeramen:roundedimageview:2.2.1'
/**
* 测试依赖
*/
junit = 'junit:junit:4.12'
com_android_support_test_runner = 'com.android.support.test:runner:1.0.2'
com_android_support_test_espresso_espresso_core = 'com.android.support.test.espresso:espresso-core:3.0.2'
}