Add Gradle build.
Add Travis CI.