Skip to content

Commit

Permalink
update to v2.1.0
Browse files Browse the repository at this point in the history
  • Loading branch information
Jamling committed May 17, 2017
1 parent 30b4fe2 commit 7f7e6a1
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 13 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ An Android framework library and demo to help you building your app quickly.

```gradle
dependencies {
compile 'cn.ieclipse.af:af-library:2.0.2'
compile 'cn.ieclipse.af:af-library:2.1.0'
}
android {
// for target api >= 23 (Android 6.0)
Expand Down
21 changes: 11 additions & 10 deletions library/android-maven.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,10 @@
// }
//}

group = project.property('ART_GROUP')
version = project.property('ART_VER')
project.ext {
name = project.property('ART_ARTIFACT')
group = project.property('ART_GROUP')
version = project.property('ART_VER')
artifactId = project.property('ART_ARTIFACT')
archivesBaseName = project.property('ART_ARTIFACT')
}
Expand Down Expand Up @@ -69,12 +69,13 @@ task findConventions << {
}

install {
println(artifactId)
repositories.mavenInstaller {
// This generates POM.xml with proper parameters
pom {
project {
// artifactId project.property('ART_ARTIFACT')
groupId project.property('ART_GROUP')
artifactId project.property('ART_ARTIFACT')
version project.property('ART_VER')
packaging ART_PKG
// Add your description here
name project.property('PRJ_NAME')
Expand Down Expand Up @@ -102,10 +103,10 @@ install {
}
}
}
// repositories.mavenDeployer() {
// repository(url: ART_LOCAL_URL)
// pom.groupId = ART_GROUP
// pom.artifactId = ART_ARTIFACT
// pom.version = ART_VER
// }
repositories.mavenDeployer() {
repository(url: ART_LOCAL_URL)
pom.groupId = ART_GROUP
pom.artifactId = ART_ARTIFACT
pom.version = ART_VER
}
}
4 changes: 2 additions & 2 deletions library/gradle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ systemProp.socksProxyHost=127.0.0.1
systemProp.socksProxyPort=1080

# artifact
ART_VER=2.0.2
ART_VER=2.1.0
ART_GROUP=cn.ieclipse.af
ART_ARTIFACT=af-library
ART_PKG=aar
Expand All @@ -29,7 +29,7 @@ LIC_DESC=
SCM_URL=https://github.com/Jamling/QuickAF
SCM_REPO=https://github.com/Jamling/QuickAF.git
SCM_DEV=git@github.com:Jamling/QuickAF.git
SCM_TAG=v2.0.2
SCM_TAG=v2.1.0

# MAVEN DEV
DEV_NAME=QuickAF Project
Expand Down

0 comments on commit 7f7e6a1

Please sign in to comment.