Make sure gradle builds work with gradle plugin upgrade to 0.9. Make sonatype properties optional. #9