Replace Maven with Gradle.

The build.gradle file seems to be nicer than the pom.xml.