|
@@ -6,8 +6,8 @@ android {
|
|
defaultConfig {
|
|
defaultConfig {
|
|
minSdkVersion 17
|
|
minSdkVersion 17
|
|
targetSdkVersion 29
|
|
targetSdkVersion 29
|
|
- versionCode 18
|
|
|
|
- versionName "2.6.4"
|
|
|
|
|
|
+ versionCode 30
|
|
|
|
+ versionName "3.0.0"
|
|
}
|
|
}
|
|
|
|
|
|
buildTypes {
|
|
buildTypes {
|
|
@@ -23,10 +23,10 @@ dependencies {
|
|
implementation 'androidx.appcompat:appcompat:1.2.0'
|
|
implementation 'androidx.appcompat:appcompat:1.2.0'
|
|
implementation 'androidx.annotation:annotation:1.1.0'
|
|
implementation 'androidx.annotation:annotation:1.1.0'
|
|
implementation 'androidx.cardview:cardview:1.0.0'
|
|
implementation 'androidx.cardview:cardview:1.0.0'
|
|
-
|
|
|
|
implementation project(':VideoKernel')
|
|
implementation project(':VideoKernel')
|
|
|
|
|
|
- //这两个是必须要加的,其它的可供选择
|
|
|
|
|
|
+ /*//这两个是必须要加的,其它的可供选择
|
|
|
|
+ //ijk播放器
|
|
implementation 'tv.danmaku.ijk.media:ijkplayer-java:0.8.8'
|
|
implementation 'tv.danmaku.ijk.media:ijkplayer-java:0.8.8'
|
|
implementation 'tv.danmaku.ijk.media:ijkplayer-armv7a:0.8.4'
|
|
implementation 'tv.danmaku.ijk.media:ijkplayer-armv7a:0.8.4'
|
|
//其他库文件
|
|
//其他库文件
|
|
@@ -34,15 +34,13 @@ dependencies {
|
|
//implementation 'tv.danmaku.ijk.media:ijkplayer-arm64:0.8.8'
|
|
//implementation 'tv.danmaku.ijk.media:ijkplayer-arm64:0.8.8'
|
|
//implementation 'tv.danmaku.ijk.media:ijkplayer-x86:0.8.8'
|
|
//implementation 'tv.danmaku.ijk.media:ijkplayer-x86:0.8.8'
|
|
//implementation 'tv.danmaku.ijk.media:ijkplayer-x86_64:0.8.8'
|
|
//implementation 'tv.danmaku.ijk.media:ijkplayer-x86_64:0.8.8'
|
|
-
|
|
|
|
-
|
|
|
|
//谷歌播放器
|
|
//谷歌播放器
|
|
implementation "com.google.android.exoplayer:exoplayer:2.11.3"
|
|
implementation "com.google.android.exoplayer:exoplayer:2.11.3"
|
|
implementation "com.google.android.exoplayer:exoplayer-core:2.11.3"
|
|
implementation "com.google.android.exoplayer:exoplayer-core:2.11.3"
|
|
implementation "com.google.android.exoplayer:exoplayer-dash:2.11.3"
|
|
implementation "com.google.android.exoplayer:exoplayer-dash:2.11.3"
|
|
implementation "com.google.android.exoplayer:exoplayer-hls:2.11.3"
|
|
implementation "com.google.android.exoplayer:exoplayer-hls:2.11.3"
|
|
implementation "com.google.android.exoplayer:exoplayer-smoothstreaming:2.11.3"
|
|
implementation "com.google.android.exoplayer:exoplayer-smoothstreaming:2.11.3"
|
|
- implementation "com.google.android.exoplayer:extension-rtmp:2.11.3"
|
|
|
|
|
|
+ implementation "com.google.android.exoplayer:extension-rtmp:2.11.3"*/
|
|
}
|
|
}
|
|
|
|
|
|
/** 以下开始是将Android Library上传到jcenter的相关配置**/
|
|
/** 以下开始是将Android Library上传到jcenter的相关配置**/
|
|
@@ -57,9 +55,9 @@ def gitUrl = 'https://github.com/yangchong211/YCVideoPlayer.git' // project git
|
|
//发布到组织名称名字,必须填写
|
|
//发布到组织名称名字,必须填写
|
|
group = "cn.yc"
|
|
group = "cn.yc"
|
|
//发布到JCenter上的项目名字,必须填写
|
|
//发布到JCenter上的项目名字,必须填写
|
|
-def libName = "YCVideoPlayerLib"
|
|
|
|
|
|
+def libName = "VideoPlayer"
|
|
// 版本号,下次更新是只需要更改版本号即可
|
|
// 版本号,下次更新是只需要更改版本号即可
|
|
-version = "2.6.6"
|
|
|
|
|
|
+version = "3.0.1"
|
|
/** 上面配置后上传至jcenter后的编译路径是这样的: compile 'cn.yc:YCVideoPlayerLib:2.4' **/
|
|
/** 上面配置后上传至jcenter后的编译路径是这样的: compile 'cn.yc:YCVideoPlayerLib:2.4' **/
|
|
|
|
|
|
//生成源文件
|
|
//生成源文件
|