Is there a way to direct all the transivite dependencies to an Artifactory repository?
Here’s the setup : I have on my work network an Artifactory repository, proxying all the maven repositories. My build script itself download it’s dependencies from that Artifactory just fine. However, it seems that the gradle plugins are downloading their own dependencies directly from maven.repo1.
Is there a way to redirect these artifacts resolution ? I’m pretty sure I’m not the first one with that kind of issue…
I’m not aware of a one-stop solution. However, plugins usually don’t declare their own repositories. Instead, they rely on the repositories declared in the build script. That’s certainly how Gradle’s bundled plugins work.
I’m not aware of a one-stop solution. However, plugins usually don’t declare their own repositories. Instead, they rely on the repositories declared in the build script. That’s certainly how Gradle’s bundled plugins work.
That’s what I was expecting too, but apparently I ran into some beta plugin. I’ll track it down and kill its repositories declarations. =)