Setup publishing to Sonatype OSS in build.gradle

Use android-maven-plugin instead of the built-in maven-plugin.