Fix dependency on Gradle internals