Skip to content

Commit

Permalink
release v2.5.4
Browse files Browse the repository at this point in the history
  • Loading branch information
Doikki committed Dec 5, 2018
1 parent ca7afc5 commit baac64f
Show file tree
Hide file tree
Showing 4 changed files with 20 additions and 13 deletions.
14 changes: 7 additions & 7 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -39,17 +39,17 @@ allprojects {
dependencies {
# 必选,可兼容市面上绝大部分设备
implementation 'com.github.dueeeke.dkplayer:dkplayer-java:2.5.3'
implementation 'com.github.dueeeke.dkplayer:dkplayer-armv7a:2.5.3'
implementation 'com.github.dueeeke.dkplayer:dkplayer-java:2.5.4'
implementation 'com.github.dueeeke.dkplayer:dkplayer-armv7a:2.5.4'
# 可选,用于兼容一些其他的CPU架构
implementation 'com.github.dueeeke.dkplayer:dkplayer-armv5:2.5.3'
implementation 'com.github.dueeeke.dkplayer:dkplayer-arm64:2.5.3'
implementation 'com.github.dueeeke.dkplayer:dkplayer-x86:2.5.3'
implementation 'com.github.dueeeke.dkplayer:dkplayer-x86_64:2.5.3'
implementation 'com.github.dueeeke.dkplayer:dkplayer-armv5:2.5.4'
implementation 'com.github.dueeeke.dkplayer:dkplayer-arm64:2.5.4'
implementation 'com.github.dueeeke.dkplayer:dkplayer-x86:2.5.4'
implementation 'com.github.dueeeke.dkplayer:dkplayer-x86_64:2.5.4'
# 可选,里面包含StandardVideoController的实现
implementation 'com.github.dueeeke.dkplayer:dkplayer-ui:2.5.3'
implementation 'com.github.dueeeke.dkplayer:dkplayer-ui:2.5.4'
}
```
或者将library下载并导入项目中使用
Expand Down
6 changes: 3 additions & 3 deletions app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,8 @@ android {
applicationId "com.dueeeke.dkplayer"
minSdkVersion rootProject.ext.minSdkVersion
targetSdkVersion rootProject.ext.targetSdkVersion
versionCode 27
versionName "2.5.3"
versionCode 28
versionName "2.5.4"

ndk {
//打包时保留armeabi-v7a x86 so
Expand Down Expand Up @@ -72,7 +72,7 @@ dependencies {
implementation fileTree(include: ['*.jar'], dir: 'libs')
debugImplementation 'com.squareup.leakcanary:leakcanary-android:1.6.2'
releaseImplementation 'com.squareup.leakcanary:leakcanary-android-no-op:1.6.2'
testImplementation 'com.squareup.leakcanary:leakcanary-android-no-op:1.6.2'
debugImplementation 'com.squareup.leakcanary:leakcanary-support-fragment:1.6.2'
implementation "com.android.support:recyclerview-v7:$rootProject.supportLibraryVersion"
implementation 'com.github.bumptech.glide:glide:3.7.0'
implementation 'com.yanzhenjie:permission:2.0.0-rc12'
Expand Down
11 changes: 9 additions & 2 deletions app/proguard-rules.pro
Original file line number Diff line number Diff line change
Expand Up @@ -26,5 +26,12 @@

-keep class tv.danmaku.ijk.** { *; }
-dontwarn tv.danmaku.ijk.**
-keep class com.devlin_n.magic_player.** { *; }
-dontwarn com.devlin_n.magic_player.**
-keep class com.dueeeke.videoplayer.** { *; }
-dontwarn com.dueeeke.videoplayer.**


-dontwarn com.yanzhenjie.permission.**

-keep class android.support.** { *; }

-keep class com.bumptech.glide.** { *; }
2 changes: 1 addition & 1 deletion dkplayer-java/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ android {

dependencies {
implementation fileTree(include: ['*.jar'], dir: 'libs')
compileOnly "com.android.support:appcompat-v7:$rootProject.supportLibraryVersion"
implementation "com.android.support:appcompat-v7:$rootProject.supportLibraryVersion"
api "tv.danmaku.ijk.media:ijkplayer-java:$rootProject.ijkPlayerVersion"
api 'com.danikula:videocache:2.7.1'
}

0 comments on commit baac64f

Please sign in to comment.