build.gradle
3.24 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
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
apply plugin: 'com.android.library'
//greenDao
apply plugin: 'org.greenrobot.greendao'
//apply from: './maven_push.gradle'
android {
// compileSdkVersion 29
// buildToolsVersion "28.0.3"
//
// useLibrary 'org.apache.http.legacy'
// defaultConfig {
// minSdkVersion rootProject.ext.minSdkVersion
// targetSdkVersion rootProject.ext.targetSdkVersion
// versionCode rootProject.ext.versionCode
// versionName rootProject.ext.versionName
// multiDexEnabled true
// javaCompileOptions {
// annotationProcessorOptions {
// arguments = [AROUTER_MODULE_NAME: project.getName(), AROUTER_GENERATE_DOC: "enable"]
// }
// }
//
// buildTypes {
// release {
// minifyEnabled false
// proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
// }
// }
compileOptions {
sourceCompatibility JavaVersion.VERSION_1_8
targetCompatibility JavaVersion.VERSION_1_8
}
dataBinding {
enabled true
}
// sourceSets {
// main {
// jniLibs.srcDir 'libs'
// }
// }
dexOptions {
javaMaxHeapSize '4g'
}
//greendao配置
greendao {
schemaVersion 1 //版本号,升级时可配置
daoPackage 'com.cnlive.moudle.pedometer.sql.dao' //包名
targetGenDir 'src/main/java' //生成目录
}
}
dependencies {
implementation fileTree(include: ['*.jar'], dir: 'libs')
// implementation("com.github.SherlockGougou:MagicIndicator:$rootProject.magicindicator") {
// exclude group: 'com.android.support'
// }
//--------------------------------------------------------
implementation "com.cnlive.libs:largeimage:$rootProject.libLargeImage"
implementation "com.scwang.smartrefresh:SmartRefreshLayout:$rootProject.SmartRefreshLayout"
implementation "com.scwang.smartrefresh:SmartRefreshHeader:$rootProject.SmartRefreshHeader"
implementation "com.cnlive.libs:emoj:$rootProject.libEmoj"
//GreenDao
// implementation "org.greenrobot:greendao:$rootProject.greendao"
//数据库加密
implementation 'net.zetetic:android-database-sqlcipher:3.5.6'
//evenbus
// implementation "org.greenrobot:eventbus:$rootProject.eventBus"
//EasyPermission
implementation "com.jzxiang.pickerview:TimePickerDialog:$rootProject.TimePickerDialog"
implementation 'com.sothree.slidinguppanel:library:3.4.0'
implementation project(':library_baidumap')
//加载动画
implementation "com.wang.avi:library:$rootProject.avi"
// implementation "com.cnlive.libs:video_qiniu:$rootProject.libVideoQiniu"
//七牛上传
implementation "com.qiniu:qiniu-android-sdk:$rootProject.qiniuAndroidSdk"
implementation("com.cnlive:lib_upload:$rootProject.libUpload") {
exclude group: 'com.android.support'
exclude group: 'com.cnlive'
}
implementation "com.cnlive.libs:mediapicker:$rootProject.libMediaPicker"
implementation 'org.apache.httpcomponents:httpcore:4.4.2'
//气泡提醒
implementation 'q.rorbin:badgeview:1.1.3'
implementation project(path: ':core:network')
implementation project(path: ':library_baidumap')
}