Skip to content

Commit

Permalink
update gradle properties to new release version 1.0.4, 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 58636b0 commit cd290b3
Show file tree
Hide file tree
Showing 3 changed files with 17 additions and 1 deletion.
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 ->

version = VERSION_NAME
Expand Down Expand Up @@ -59,6 +69,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.0.6-SNAPSHOT
VERSION_NAME=1.0.4
VERSION_CODE=1
GROUP=org.smartregister
POM_SETTING_DESCRIPTION=OpenSRP Client Growth Monitoring Application
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()
}
}

0 comments on commit cd290b3

Please sign in to comment.