Skip to content

Commit

Permalink
优化
Browse files Browse the repository at this point in the history
  • Loading branch information
xiaomsh committed May 31, 2019
1 parent b86e5ab commit 6bfe95e
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 12 deletions.
3 changes: 2 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
12 changes: 6 additions & 6 deletions banner/build.gradle
Original file line number Diff line number Diff line change
@@ -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

Expand All @@ -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'
Expand All @@ -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 {
Expand Down Expand Up @@ -98,4 +98,4 @@ bintray {
licenses = ["Apache-2.0"]
publish = true
}
}
}*/
10 changes: 5 additions & 5 deletions banner_x/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -22,23 +22,23 @@ dependencies {
implementation "androidx.appcompat:appcompat:$rootProject.ext.androidxVersion"
}

/*
apply plugin: 'com.github.dcendents.android-maven'
apply plugin: 'com.jfrog.bintray'
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 {
Expand Down Expand Up @@ -98,4 +98,4 @@ bintray {
licenses = ["Apache-2.0"]
publish = true
}
}
}*/

0 comments on commit 6bfe95e

Please sign in to comment.