build.gradle
2.46 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
apply plugin: 'com.android.library'
android {
compileSdkVersion 27
defaultConfig {
minSdkVersion 16
targetSdkVersion 27
versionCode 1
versionName "1.0"
javaCompileOptions {
annotationProcessorOptions {
arguments = [AROUTER_MODULE_NAME: project.getName(), AROUTER_GENERATE_DOC: "enable"]
}
}
}
buildTypes {
release {
minifyEnabled false
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
}
}
compileOptions {
sourceCompatibility JavaVersion.VERSION_1_8
targetCompatibility JavaVersion.VERSION_1_8
}
dataBinding {
enabled true
}
dexOptions {
javaMaxHeapSize '4g'
}
}
dependencies {
implementation fileTree(include: ['*.jar'], dir: 'libs')
implementation "com.android.support:support-v4:$rootProject.supportV4"
implementation "com.android.support:appcompat-v7:$rootProject.appcompatV7"
implementation "com.android.support:design:$rootProject.design"
implementation "com.android.support:support-v13:$rootProject.supportV13"
implementation "com.android.support:recyclerview-v7:$rootProject.recyclerviewV7"
implementation "com.android.support:cardview-v7:$rootProject.cardviewV7"
//RefreshLayout
implementation "com.scwang.smartrefresh:SmartRefreshLayout:$rootProject.SmartRefreshLayout"
implementation "com.scwang.smartrefresh:SmartRefreshHeader:$rootProject.SmartRefreshHeader"
//QMUI
implementation "com.qmuiteam:qmui:$rootProject.qmui"
//Glide
implementation "com.github.bumptech.glide:glide:$rootProject.glide"
implementation "jp.wasabeef:glide-transformations:$rootProject.glideTransformations"
annotationProcessor "com.github.bumptech.glide:compiler:$rootProject.compiler"
//RecyclerView-Animators
implementation "jp.wasabeef:recyclerview-animators:$rootProject.recyclerviewAnimators"
//CNLiveLibs
implementation "com.cnlive:lib_base:$rootProject.libBase"
implementation "com.cnlive:lib_network:$rootProject.libNetwork"
implementation "com.cnlive:app_emoj:$rootProject.libEmoj"
implementation "com.cnlive:menu:$rootProject.libMenu"
implementation "com.cnlive:app_arch:$rootProject.appArch"
//ARouter
implementation "com.alibaba:arouter-api:$rootProject.arouterApiVersion"
annotationProcessor "com.alibaba:arouter-compiler:$rootProject.arouterCompilerVersion"
}