Add publish script & update publish version

master
徐灿辉 5 years ago
parent 375b11f288
commit aa3e7db12f
  1. 2
      README.md
  2. 2
      app/build.gradle
  3. 2
      library/build.gradle
  4. 1
      publish.bat
  5. 1
      publish.sh

@ -3,7 +3,7 @@ FFmpeg invoker
## Download ## Download
```groovy ```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`. 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: If you don't need x86 lib, you can exclude it according to the following configuration:

@ -32,6 +32,6 @@ dependencies {
androidTestImplementation 'androidx.test.espresso:espresso-core:3.2.0' androidTestImplementation 'androidx.test.espresso:espresso-core:3.2.0'
implementation project(path: ':library') implementation project(path: ':library')
// implementation 'com.github.xch168:ffmpeg-invoker:0.0.1' // implementation 'com.github.xch168:ffmpeg-invoker:0.0.2'
} }

@ -58,7 +58,7 @@ publish {
userOrg = 'xch168' // bintray.com用户名 userOrg = 'xch168' // bintray.com用户名
groupId = 'com.github.xch168' // jcenter上的路径 groupId = 'com.github.xch168' // jcenter上的路径
artifactId = 'ffmpeg-invoker' // artifactId = 'ffmpeg-invoker' //
publishVersion = '0.0.1' // publishVersion = '0.0.2' //
desc = 'Invoker ffmpeg on Android' // desc = 'Invoker ffmpeg on Android' //
website = 'https://github.com/xch168/FFmpeg-Invoker' // website = 'https://github.com/xch168/FFmpeg-Invoker' //

@ -0,0 +1 @@
gradlew clean build generatePomFileForReleasePublication bintrayUpload -PdryRun=false

@ -0,0 +1 @@
./gradlew clean build generatePomFileForReleasePublication bintrayUpload -PdryRun=false
Loading…
Cancel
Save