Permalink
Browse files

Preparing for a 2.0.0 release.

  • Loading branch information...
cowboygneox committed Jun 20, 2016
1 parent a661546 commit d04997590d0c7f39790276e6a9c658f35249bd44
Showing with 9 additions and 1 deletion.
  1. +1 −1 betamax.gradle
  2. +8 −0 gradle/publish.gradle
View
@@ -1,7 +1,7 @@
apply from: "gradle/idea.gradle"
allprojects {
version "2.0.0-SNAPSHOT"
version "2.0.0"
ext {
isSnapshot = version.endsWith("-SNAPSHOT")
View
@@ -45,6 +45,14 @@ uploadArchives {
snapshotRepository(url: "https://oss.sonatype.org/content/repositories/snapshots/") {
authentication(userName: System.getenv()['SONATYPE_USERNAME'], password: System.getenv()['SONATYPE_PASSWORD'])
}
} else if (project.hasProperty('ossrhUsername') && project.hasProperty('ossrhPassword')) {
repository(url: "https://oss.sonatype.org/service/local/staging/deploy/maven2/") {
authentication(userName: ossrhUsername, password: ossrhPassword)
}
snapshotRepository(url: "https://oss.sonatype.org/content/repositories/snapshots/") {
authentication(userName: ossrhUsername, password: ossrhPassword)
}
} else {
repository(url: "file://${System.properties['user.home']}/.m2/repository")
}

0 comments on commit d049975

Please sign in to comment.