Moved to Gradle

Issue #13 

Only tested for staging repos, so not sure if signing is working properly. Let me know if you need any changes.