putting: provided “org.deeplearning4j:deeplearning4j-core:‘0.9.1’”
into the dependencies causes gradle to say:
Could not find method provided() for arguments [org.deeplearning4j:deeplearnin
g4j-core:‘0.9.1’] on object of type org.gradle.api.internal.artifacts.dsl.depend
encies.DefaultDependencyHandler.
There is not a configuration called provided in Gradle unless you explicitly define one and configure it. However, it doesn’t even make sense that this dependency would be “provided” in the build tools that have this configuration by default. The other build tool examples are adding this to compile / their equivalent, so it seems the author of the hint was just confused.
Additionally, there was a deeplearning4j issue filed on GitHub for this back in 2016, but the reporter didn’t create a pull request as requested by a maintainer. I created the pull request and it was already merged, so the documentation will not mislead any future Gradle users.