Removed a Gradle deprecation warning.