Update Gradle plugin to 0.5.2.
Add travis configuration.