Recreate for Gradle.