Convert to Gradle build system.
Move to gradle plugin 0.9.+