Skip to content

Commit

Permalink
update gradle properties to new release version 1.2.2, update gradle …
Browse files Browse the repository at this point in the history
…config to support automated closing and promotion of published aar artifacts
  • Loading branch information
ndegwamartin committed Mar 27, 2018
1 parent d037e47 commit 6aeb86a
Show file tree
Hide file tree
Showing 4 changed files with 19 additions and 3 deletions.
11 changes: 11 additions & 0 deletions build.gradle
Original file line number Diff line number Diff line change
@@ -1,3 +1,13 @@
buildscript {
repositories {
mavenCentral()
}

dependencies {
classpath "io.codearte.gradle.nexus:gradle-nexus-staging-plugin:0.11.0"
}
}

configure(allprojects) { project ->
buildscript {

Expand Down Expand Up @@ -60,6 +70,7 @@ subprojects {

apply plugin: 'java'
apply plugin: 'build-dashboard'
apply plugin: 'io.codearte.nexus-staging'

buildDashboard {
reports.html.destination = "build/"
Expand Down
2 changes: 1 addition & 1 deletion gradle.properties
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
VERSION_NAME=1.2.5-SNAPSHOT
VERSION_NAME=1.2.2
VERSION_CODE=2
GROUP=org.smartregister
POM_SETTING_DESCRIPTION=OpenSRP Client Immunization
Expand Down
5 changes: 5 additions & 0 deletions maven.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -126,4 +126,9 @@ afterEvaluate { project ->
archives androidSourcesJar
archives androidJavadocsJar
}

nexusStaging {
username getRepositoryUsername()
password getRepositoryPassword()
}
}
4 changes: 2 additions & 2 deletions sample/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -71,11 +71,11 @@ android {

dependencies {
testCompile 'junit:junit:4.12'
compile('org.smartregister:opensrp-client-core:1.2.5-SNAPSHOT@aar') {
compile('org.smartregister:opensrp-client-core:1.2.1@aar') {
transitive = true
exclude group: 'com.github.bmelnychuk', module: 'atv'
}
compile('org.smartregister:opensrp-client-native-form:1.0.0-SNAPSHOT@aar') {
compile('org.smartregister:opensrp-client-native-form:1.0.2@aar') {
transitive = true
exclude group: 'com.android.support', module: 'recyclerview-v7'
}
Expand Down

0 comments on commit 6aeb86a

Please sign in to comment.