Gradle build

@brendankenny PTAL

Fixes #1 
Through what black magic does this work? Does gradle 2 have a built in repository somewhere?