From 6bfe95e08e800b2c7d4e8dd7251258c51e1306ed Mon Sep 17 00:00:00 2001 From: wenchao <79556355@qq.com> Date: Sat, 1 Jun 2019 01:52:03 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BC=98=E5=8C=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- README.md | 3 ++- banner/build.gradle | 12 ++++++------ banner_x/build.gradle | 10 +++++----- 3 files changed, 13 insertions(+), 12 deletions(-) diff --git a/README.md b/README.md index 45311ed..347c06d 100644 --- a/README.md +++ b/README.md @@ -47,7 +47,8 @@ repositories { } dependencies{ - implementation 'com.github.wenchaosong:Banner:2.3.12' //此版本适配了 androidx + implementation 'com.github.wenchaosong:Banner:2.3.13' + implementation 'com.github.wenchaosong:Banner-androidx:2.3.12'//此版本适配了 androidx } ``` 或者引用本地lib diff --git a/banner/build.gradle b/banner/build.gradle index e52e658..1a8ee9a 100644 --- a/banner/build.gradle +++ b/banner/build.gradle @@ -1,5 +1,6 @@ apply plugin: 'com.android.library' - +apply plugin: 'com.github.dcendents.android-maven' +group = 'com.github.wenchaosong' android { compileSdkVersion rootProject.ext.compileSdkVersion @@ -22,7 +23,7 @@ dependencies { implementation 'com.android.support:appcompat-v7:28.0.0' } -apply plugin: 'com.github.dcendents.android-maven' +/* apply plugin: 'com.jfrog.bintray' def siteUrl = 'https://github.com/wenchaosong/Banner' @@ -33,12 +34,11 @@ version = "2.3.13" install { repositories.mavenInstaller { - pom.artifactId = 'Banner' pom { project { packaging 'aar' - name 'Banner' - description 'Android图片轮播控件' + name 'Android图片轮播控件' + artifactId 'Banner' url siteUrl licenses { license { @@ -98,4 +98,4 @@ bintray { licenses = ["Apache-2.0"] publish = true } -} +}*/ \ No newline at end of file diff --git a/banner_x/build.gradle b/banner_x/build.gradle index c5795cf..8030138 100644 --- a/banner_x/build.gradle +++ b/banner_x/build.gradle @@ -22,6 +22,7 @@ dependencies { implementation "androidx.appcompat:appcompat:$rootProject.ext.androidxVersion" } +/* apply plugin: 'com.github.dcendents.android-maven' apply plugin: 'com.jfrog.bintray' @@ -29,16 +30,15 @@ def siteUrl = 'https://github.com/wenchaosong/Banner' def gitUrl = 'https://github.com/wenchaosong/Banner.git' group = 'com.github.wenchaosong' -version = "2.3.13" +version = "2.3.12" install { repositories.mavenInstaller { - pom.artifactId = 'Banner-androidx' pom { project { packaging 'aar' - name 'Banner-androidx' - description 'Android图片轮播控件' + name 'Android图片轮播控件' + artifactId 'Banner-androidx' url siteUrl licenses { license { @@ -98,4 +98,4 @@ bintray { licenses = ["Apache-2.0"] publish = true } -} \ No newline at end of file +}*/