|
@@ -1,12 +1,13 @@
|
|
|
apply plugin: 'com.android.application'
|
|
|
+apply from: rootProject.projectDir.absolutePath + "/VideoGradle/video.gradle"
|
|
|
|
|
|
android {
|
|
|
- compileSdkVersion 29
|
|
|
- buildToolsVersion '29.0.0'
|
|
|
+ compileSdkVersion project.ext.androidCompileSdkVersion
|
|
|
+ buildToolsVersion project.ext.androidBuildToolsVersion
|
|
|
defaultConfig {
|
|
|
- applicationId "org.yczbj.ycvideoplayer"
|
|
|
- minSdkVersion 17
|
|
|
- targetSdkVersion 29
|
|
|
+ applicationId "com.yc.ycvideoplayer"
|
|
|
+ minSdkVersion project.ext.androidMinSdkVersion
|
|
|
+ targetSdkVersion project.ext.androidTargetSdkVersion
|
|
|
versionCode 28
|
|
|
versionName "2.8.0"
|
|
|
// dex突破65535的限制
|
|
@@ -67,23 +68,25 @@ dependencies {
|
|
|
implementation 'com.github.ctiao:DanmakuFlameMaster:0.9.25'
|
|
|
implementation 'com.github.ctiao:ndkbitmap-armv7a:0.9.21'
|
|
|
|
|
|
- implementation 'com.github.yangchong211.YCVideoPlayer:VideoCache:v1.0.0'
|
|
|
- implementation 'com.github.yangchong211.YCVideoPlayer:VideoPlayer:v1.0.0'
|
|
|
- implementation 'com.github.yangchong211.YCVideoPlayer:VideoKernel:v1.0.0'
|
|
|
- implementation 'com.github.yangchong211.YCVideoPlayer:VideoView:v1.0.0'
|
|
|
- implementation 'com.github.yangchong211.YCVideoPlayer:MusicPlayer:v1.0.0'
|
|
|
- implementation 'com.github.yangchong211.YCVideoPlayer:VideoM3u8:v1.0.0'
|
|
|
- implementation 'com.github.yangchong211.YCVideoPlayer:VideoSqlLite:v1.0.0'
|
|
|
+ implementation 'com.github.yangchong211.YCVideoPlayer:VideoPlayer:1.1.0'
|
|
|
+ implementation 'com.github.yangchong211.YCVideoPlayer:VideoKernel:1.1.0'
|
|
|
+ implementation 'com.github.yangchong211.YCVideoPlayer:VideoView:1.1.0'
|
|
|
+ implementation 'com.github.yangchong211.YCVideoPlayer:MusicPlayer:1.1.0'
|
|
|
+ implementation 'com.github.yangchong211.YCVideoPlayer:VideoM3u8:1.1.0'
|
|
|
+ implementation 'com.github.yangchong211.YCVideoPlayer:VideoSqlLite:1.1.0'
|
|
|
+ implementation 'com.github.yangchong211.YCVideoPlayer:AudioPlayer:1.1.0'
|
|
|
+ implementation 'com.github.yangchong211.YCVideoPlayer:VideoTool:1.1.0'
|
|
|
+ implementation 'com.github.yangchong211.YCVideoPlayer:VideoCache:1.1.0'
|
|
|
|
|
|
- implementation project(path: ':VideoCache')
|
|
|
- implementation project(path: ':VideoPlayer')
|
|
|
- implementation project(path: ':VideoKernel')
|
|
|
- implementation project(path: ':VideoView')
|
|
|
- implementation project(path: ':MusicPlayer')
|
|
|
- implementation project(path: ':VideoM3u8')
|
|
|
- implementation project(path: ':VideoSqlLite')
|
|
|
- implementation project(path: ':AudioPlayer')
|
|
|
- implementation project(path: ':VideoTool')
|
|
|
+// implementation project(path: ':VideoCache')
|
|
|
+// implementation project(path: ':VideoPlayer')
|
|
|
+// implementation project(path: ':VideoKernel')
|
|
|
+// implementation project(path: ':VideoView')
|
|
|
+// implementation project(path: ':MusicPlayer')
|
|
|
+// implementation project(path: ':VideoM3u8')
|
|
|
+// implementation project(path: ':VideoSqlLite')
|
|
|
+// implementation project(path: ':AudioPlayer')
|
|
|
+// implementation project(path: ':VideoTool')
|
|
|
|
|
|
//自己封装的库,都有对应的案例项目【欢迎star】:https://github.com/yangchong211
|
|
|
implementation 'cn.yc:YCStatusBarLib:1.5.0'
|