I’m working behind a corporate firewall, which doesn’t allow access to JARs hosted externally.
External Maven repositories such as JCentre are mirrored in an internal Nexus, so that we can access them internally.
Is there a Maven repository that can be used for mirroring plugins hosted on https://plugins.gradle.org/m2/?
This post on the old forum is kind of related, but doesn’t cover what Maven repository should be mirrored (or if there is one available).
Looking at what happens when I browse externally, I noticed
however, if you request anything that isn’t a full path to a file from https://plugins.gradle.org/m2/, you’re redirected to https://jcenter.bintray.com/. None of the plugins seem to exist where I’d expect them to in jCentre (e.g. there is nothing at https://jcenter.bintray.com/gradle/plugin/com/gorylenko/gradle-git-properties/gradle-git-properties/1.4.7/gradle-git-properties-1.4.7.pom).
Sorry if this post is a little rambling - I’m no Maven expert.