SNAPSHOT builds publish to Sonatype OSSRH, closes #165

This commit is contained in:
Emux
2016-09-08 22:32:42 +03:00
parent 1328d050e0
commit 801eda470d
15 changed files with 27 additions and 27 deletions

View File

@@ -47,8 +47,7 @@ artifacts {
mainClassName = 'org.oscim.gdx.GdxMapApp'
run { ignoreExitValue = true }
// Automated Gradle project deployment to Sonatype OSSRH
if (isReleaseVersion && project.hasProperty("SONATYPE_USERNAME")) {
if (project.hasProperty("SONATYPE_USERNAME")) {
afterEvaluate {
project.apply from: "${rootProject.projectDir}/deploy.gradle"
}