Add reference to class in Gradle core.