Fix Gradle build.