Gradle changes for publishing to sonatype

fixes #3