Skip to content

Commit

Permalink
read sonatype urls and signature info from gradle.properties
Browse files Browse the repository at this point in the history
  • Loading branch information
Can Elmas authored and Can Elmas committed Nov 6, 2015
1 parent 62d4871 commit 0078f24
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions gradle-mvn-push.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -39,10 +39,10 @@ afterEvaluate { project ->
pom.artifactId = POM_ARTIFACT_ID
pom.version = VERSION_NAME

repository(url: "https://oss.sonatype.org/service/local/staging/deploy/maven2/") {
repository(url: RELEASE_REPOSITORY_URL) {
authentication(userName: getRepositoryUsername(), password: getRepositoryPassword())
}
snapshotRepository(url: "https://oss.sonatype.org/content/repositories/snapshots/") {
snapshotRepository(url: RELEASE_REPOSITORY_URL) {
authentication(userName: getRepositoryUsername(), password: getRepositoryPassword())
}

Expand Down

0 comments on commit 0078f24

Please sign in to comment.