build.gradle
2.31 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
apply plugin: 'com.android.library'
apply from: './maven_push.gradle'
android {
compileSdkVersion 29
buildToolsVersion "29.0.3"
defaultConfig {
minSdkVersion 19
//noinspection ExpiredTargetSdkVersion
targetSdkVersion 29
versionCode 1
versionName "1.0"
javaCompileOptions {
annotationProcessorOptions {
arguments = [AROUTER_MODULE_NAME: project.getName(), AROUTER_GENERATE_DOC: "enable"]
}
}
}
buildTypes {
debug {
resValue("string", "outshare", "外分好友测试")
resValue("string", "outsharecircle", "外分测试生活圈")
}
release {
resValue("string", "outshare", "网家家好友")
resValue("string", "outsharecircle", "网家家生活圈")
}
}
compileOptions {
sourceCompatibility JavaVersion.VERSION_1_8
targetCompatibility JavaVersion.VERSION_1_8
}
ndkVersion '21.0.6113669'
}
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"
//glide
implementation "com.github.bumptech.glide:glide:$rootProject.glide"
implementation "jp.wasabeef:glide-transformations:$rootProject.glideTransformations"
annotationProcessor "com.github.bumptech.glide:compiler:$rootProject.compiler"
api "pub.devrel:easypermissions:$rootProject.easypermissions"
implementation "com.qmuiteam:qmui:$rootProject.qmui"
implementation "com.cnlive.libs:base:$rootProject.libBase"
implementation "com.cnlive.libs:largeimage:$rootProject.libLargeImage"
implementation 'com.github.chrisbanes:PhotoView:2.1.4'
//ARouter
implementation 'com.alibaba:arouter-api:1.5.0' // 换用最新版本
annotationProcessor 'com.alibaba:arouter-compiler:1.2.2' // 换用最新版本
implementation 'org.jsoup:jsoup:1.12.1'
implementation "com.cnlive.media:NewMediaPicker:$rootProject.libNewMediaPicker"
}