Gradle build automation

Not sure if you need this, but just in case... Feel free to reject this request if you hate Gradle ;)