Migrate to Gradle.