提交 20a31ffe 编写于 作者: Z Zhang Rui

gradle: modify dependencis version

上级 fd7fc85d
......@@ -54,6 +54,19 @@ dependencies {
all64Compile project(':ijkplayer-x86')
all64Compile project(':ijkplayer-x86_64')
// compile 'tv.danmaku.ijk.media:ijkplayer-java:0.6.2'
// compile 'tv.danmaku.ijk.media:ijkplayer-exo:0.6.2'
// all32Compile 'tv.danmaku.ijk.media:ijkplayer-armv5:0.6.2'
// all32Compile 'tv.danmaku.ijk.media:ijkplayer-armv7a:0.6.2'
// all32Compile 'tv.danmaku.ijk.media:ijkplayer-x86:0.6.2'
// all64Compile 'tv.danmaku.ijk.media:ijkplayer-armv5:0.6.2'
// all64Compile 'tv.danmaku.ijk.media:ijkplayer-armv7a:0.6.2'
// all64Compile 'tv.danmaku.ijk.media:ijkplayer-arm64:0.6.2'
// all64Compile 'tv.danmaku.ijk.media:ijkplayer-x86:0.6.2'
// all64Compile 'tv.danmaku.ijk.media:ijkplayer-x86_64:0.6.2'
// armv5Compile project(':player-armv5')
// armv7aCompile project(':player-armv7a')
// arm64Compile project(':player-arm64')
......
......@@ -43,10 +43,19 @@ do_version_gradle() {
# android/ijkplayer/ijkplayer-exo/build.gradle
cat android/ijkplayer/ijkplayer-exo/build.gradle \
| sed "s/\(compile \'tv.danmaku.ijk.media:ijkplayer-java:\)[[:digit:].]*[[:digit:]]/\1$VERSION_NAME/g" \
| sed "s/\(compile \'tv.danmaku.ijk.media:ijkplayer-[-_[:alpha:][:digit:]]*:\)[[:digit:].]*[[:digit:]]/\1$VERSION_NAME/g" \
> android/ijkplayer/ijkplayer-exo/build.gradle.new
mv -f android/ijkplayer/ijkplayer-exo/build.gradle.new android/ijkplayer/ijkplayer-exo/build.gradle
# android/ijkplayer/ijkplayer-example/build.gradle
cat android/ijkplayer/ijkplayer-example/build.gradle \
| sed "s/\(ompile \'tv.danmaku.ijk.media:ijkplayer-[-_[:alpha:][:digit:]]*:\)[[:digit:].]*[[:digit:]]/\1$VERSION_NAME/g" \
> android/ijkplayer/ijkplayer-example/build.gradle.new
mv -f android/ijkplayer/ijkplayer-example/build.gradle.new android/ijkplayer/ijkplayer-example/build.gradle
}
if [ "$VERSION_TARGET" = "readme" ]; then
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册