build.gradle
2.28 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
apply plugin: 'com.android.library'
apply from: './maven_push.gradle'
//
android {
compileSdkVersion 29
defaultConfig {
minSdkVersion 19
targetSdkVersion 29
versionCode 1
versionName "1.0"
multiDexEnabled true
// ndk {
// abiFilters 'armeabi-v7a'
// }
javaCompileOptions {
annotationProcessorOptions {
arguments = [AROUTER_MODULE_NAME: project.getName(), AROUTER_GENERATE_DOC: "enable"]
}
}
}
compileOptions {
sourceCompatibility JavaVersion.VERSION_1_8
targetCompatibility JavaVersion.VERSION_1_8
}
dataBinding {
enabled true
}
dexOptions {
javaMaxHeapSize '4g'
}
}
dependencies {
implementation fileTree(dir: "libs", include: ["*.jar"])
//androidX
implementation "androidx.legacy:legacy-support-v4:$rootProject.androidX_legacy_support_v4"
implementation "androidx.appcompat:appcompat:$rootProject.androidXAppcompat"
implementation "androidx.recyclerview:recyclerview:$rootProject.androidXRecyclerview"
implementation "androidx.constraintlayout:constraintlayout:$rootProject.androidXConstraintlayout"
implementation 'androidx.viewpager2:viewpager2:1.0.0'
//glide
implementation "com.github.bumptech.glide:glide:$rootProject.glide"
implementation "jp.wasabeef:glide-transformations:$rootProject.glideTransformations"
annotationProcessor "com.github.bumptech.glide:compiler:$rootProject.compiler"
//视讯云SDK
implementation "com.qmuiteam:qmui:$rootProject.qmui"
implementation "com.cnlive.libs:base:$rootProject.libBase"
implementation 'com.github.chrisbanes:PhotoView:2.1.4'
//ARouter
implementation "com.alibaba:arouter-api:$rootProject.arouterApiVersion"
annotationProcessor "com.alibaba:arouter-compiler:$rootProject.arouterCompilerVersion"
//七牛录制视频
implementation "com.cnlive.libs:video_qiniu:$rootProject.libVideoQiniu"
implementation "com.qiniu:qiniu-android-sdk:$rootProject.qiniuAndroidSdk"
implementation "com.cnlive:lib_cnutil:$rootProject.libCnUtil"
implementation "com.cnlive:lib_cnvideo2.0:$rootProject.libCnVideo"
implementation "com.umeng.umsdk:analytics:8.0.0"
implementation "com.umeng.umsdk:common:2.0.0"
}