Skip to content

Commit

Permalink
Make Sonatype Credentials optional
Browse files Browse the repository at this point in the history
  • Loading branch information
Tim Yates committed Oct 22, 2013
1 parent 6db32d5 commit fb7131a
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 3 deletions.
3 changes: 0 additions & 3 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,4 @@ language: groovy
jdk:
- oraclejdk7
install: true
before_script:
- echo sonatypeUsername='' >> gradle.properties
- echo sonatypePassword='' >> gradle.properties
script: "./gradlew -q check"
8 changes: 8 additions & 0 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -78,6 +78,14 @@ artifacts {
archives groovydocJar
}

if( !hasProperty( 'sonatypeUsername' ) ) {
ext.sonatypeUsername = ''
}

if( !hasProperty( 'sonatypePassword' ) ) {
ext.sonatypePassword = ''
}

signing {
sign configurations.archives
}
Expand Down

0 comments on commit fb7131a

Please sign in to comment.