Skip to content

Commit

Permalink
Make sonatype credentials optional
Browse files Browse the repository at this point in the history
  • Loading branch information
benfortuna committed Sep 6, 2015
1 parent c82d28c commit d9fd346
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion build.gradle
Expand Up @@ -68,7 +68,12 @@ version = System.getenv('RELEASE_VERSION') ?: release.projectVersion
description = '''
Support for additional non-standard iCalendar objects
'''
ext.isReleaseVersion = !version.endsWith("SNAPSHOT")
ext {
isReleaseVersion = !version.endsWith("SNAPSHOT")
// sonatype credentials
sonatypeUsername = project.hasProperty('sonatypeUsername') ? project.getProperty('sonatypeUsername') : ''
sonatypePassword = project.hasProperty('sonatypePassword') ? project.getProperty('sonatypePassword') : ''
}

uploadArchives {
repositories {
Expand Down

0 comments on commit d9fd346

Please sign in to comment.