getClasspathAttributes

Throws

For Gradle versions older than 3.0, where this method is not supported.