Skip to content

Commit

Permalink
Preparing for a 2.0.0 release.
Browse files Browse the repository at this point in the history
  • Loading branch information
cowboygneox committed Jun 20, 2016
1 parent a661546 commit d049975
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 1 deletion.
2 changes: 1 addition & 1 deletion betamax.gradle
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
apply from: "gradle/idea.gradle"

allprojects {
version "2.0.0-SNAPSHOT"
version "2.0.0"

ext {
isSnapshot = version.endsWith("-SNAPSHOT")
Expand Down
8 changes: 8 additions & 0 deletions gradle/publish.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -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")
}
Expand Down

0 comments on commit d049975

Please sign in to comment.