forked from CarGuo/GSYVideoPlayer
-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.gradle
83 lines (68 loc) · 2.74 KB
/
build.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
apply plugin: "com.android.application"
apply from: "$rootDir/gradle/base.gradle"
apply from: "../gradle/exported.gradle"
android {
defaultConfig {
applicationId "com.example.gsyvideoplayer"
versionCode 21
versionName PROJ_VERSION
multiDexEnabled true
ndk {
//设置支持的SO库架构
abiFilters "arm64-v8a", "armeabi-v7a", "x86"
}
}
viewBinding {
enabled = true
}
signingConfigs {
release {
storeFile file("../release.jks")
storePassword "123456"
keyAlias "debug"
keyPassword "123456"
}
}
buildTypes {
debug {
minifyEnabled false
signingConfig signingConfigs.release
}
release {
minifyEnabled true
signingConfig signingConfigs.release
proguardFiles getDefaultProguardFile("proguard-android.txt"), "proguard-rules.pro"
}
}
lintOptions {
abortOnError false
}
}
dependencies {
implementation androidDependencies.appCompat
implementation androidDependencies.recyclerView
implementation androidDependencies.core
implementation viewDependencies.danmakuFlameMaster
implementation viewDependencies.ndkBitmap
implementation viewDependencies.glide
implementation androidDependencies.design
implementation androidDependencies.viewpager2
implementation project(":gsyVideoPlayer")
implementation project(":gsyVideoPlayer-aliplay")
//implementation "com.github.CarGuo.GSYVideoPlayer:GSYVideoPlayer:$gsyVideoVersion"
//是否需要AliPlayer模式
//implementation "com.github.CarGuo.GSYVideoPlayer:GSYVideoPlayer-aliplay:$gsyVideoVersion"
// implementation "com.github.CarGuo.GSYVideoPlayer:GSYVideoPlayer-java:$gsyVideoVersion"
// implementation "com.github.CarGuo.GSYVideoPlayer:GSYVideoPlayer-armv64:$gsyVideoVersion"
// implementation "com.github.CarGuo.GSYVideoPlayer:GSYVideoPlayer-armv7a:$gsyVideoVersion"
// implementation "com.github.CarGuo.GSYVideoPlayer:GSYVideoPlayer-armv5:$gsyVideoVersion"
// implementation "com.github.CarGuo.GSYVideoPlayer:GSYVideoPlayer-x86:$gsyVideoVersion"
// implementation "com.github.CarGuo.GSYVideoPlayer:GSYVideoPlayer-x86_64:$gsyVideoVersion"
// implementation "com.github.CarGuo.GSYVideoPlayer:GSYVideoPlayer-ex_so:$gsyVideoVersion"
// implementation "com.github.CarGuo.GSYVideoPlayer:GSYVideoPlayer-exo_player2:$gsyVideoVersion"
implementation dataDependencies.okhttpUtil
implementation dataDependencies.okhttp
implementation dataDependencies.permissionsDispatcher
annotationProcessor dataDependencies.permissionsDispatcherProcessor
debugImplementation dataDependencies.leakcanary
}