From aa3e7db12ff9341576f1be1775508ba68f60a81a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=BE=90=E7=81=BF=E8=BE=89?= <122565648@qq.com> Date: Wed, 1 Apr 2020 22:15:23 +0800 Subject: [PATCH] Add publish script & update publish version --- README.md | 2 +- app/build.gradle | 2 +- library/build.gradle | 2 +- publish.bat | 1 + publish.sh | 1 + 5 files changed, 5 insertions(+), 3 deletions(-) create mode 100755 publish.bat create mode 100755 publish.sh diff --git a/README.md b/README.md index c7b27e3..2e0871e 100644 --- a/README.md +++ b/README.md @@ -3,7 +3,7 @@ FFmpeg invoker ## Download ```groovy -implementation 'com.github.xch168:ffmpeg-invoker:0.0.1' +implementation 'com.github.xch168:ffmpeg-invoker:0.0.2' ``` The Library supports three cpu abi: `armeabi-v7a`, `arm64-v8a`, `x86`. If you don't need x86 lib, you can exclude it according to the following configuration: diff --git a/app/build.gradle b/app/build.gradle index 60d147d..06b3f39 100644 --- a/app/build.gradle +++ b/app/build.gradle @@ -32,6 +32,6 @@ dependencies { androidTestImplementation 'androidx.test.espresso:espresso-core:3.2.0' implementation project(path: ':library') -// implementation 'com.github.xch168:ffmpeg-invoker:0.0.1' +// implementation 'com.github.xch168:ffmpeg-invoker:0.0.2' } diff --git a/library/build.gradle b/library/build.gradle index 3952842..4ce572b 100644 --- a/library/build.gradle +++ b/library/build.gradle @@ -58,7 +58,7 @@ publish { userOrg = 'xch168' // bintray.com用户名 groupId = 'com.github.xch168' // jcenter上的路径 artifactId = 'ffmpeg-invoker' // 项目名称 - publishVersion = '0.0.1' // 版本号 + publishVersion = '0.0.2' // 版本号 desc = 'Invoker ffmpeg on Android' // 描述 website = 'https://github.com/xch168/FFmpeg-Invoker' // 项目地址 diff --git a/publish.bat b/publish.bat new file mode 100755 index 0000000..6c60127 --- /dev/null +++ b/publish.bat @@ -0,0 +1 @@ +gradlew clean build generatePomFileForReleasePublication bintrayUpload -PdryRun=false \ No newline at end of file diff --git a/publish.sh b/publish.sh new file mode 100755 index 0000000..7f85e77 --- /dev/null +++ b/publish.sh @@ -0,0 +1 @@ +./gradlew clean build generatePomFileForReleasePublication bintrayUpload -PdryRun=false \ No newline at end of file