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

@@ -93,8 +93,7 @@ task run(dependsOn: 'installDebug') {
}
}
// 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"
}