initial gradle script to compile and push to sonatype. changed sample app to use that distribution