How do I route all artifact resolution (normal and plugins) through an internal Artifactory server?
repositories {maven { url “http://repo.mycompany.com/maven2”} } was not enough to prevent Maven central from supplying some artifacts.
As I vaguely recall, in Maven one has to list an internal repo as a mirror of central to do this. It is possible some of the repo definitions are coming in through transitive dependencies.
It would be helpful if the Gradle documentation explicitly addressed this use case. In my experience it is very common in a corporate setting to let a repo manager act as a caching proxy to external repos.