Gradle build #5

Gradle port of the current repo. #5