Gradle not using proxy repo? - Sonatype Nexus Repository - Sonatype Community
Gradle not using proxy repo?
post by zillag on Nov 16, 2024
Using Nexus-OSS 3.70.2
I set up a proxy repo for the Apache Maven2 repo, like this
However, my Gradle builds still show, for example,
Download https://repo.maven.apache.org/maven2/com/amazonaws/aws-java-sdk-models/1.11.415/aws-java-sdk-models-1.11.415.jar
I don’t have a reference to the Apache repo in any of my build.gradle or settings.gradle files. What am I missing in my proxy setup? Note that I’ve setup other proxy repos, and they work.
Thanks!
post by mpiggott on Nov 19, 2024
This is a question probably better suited for a Gradle list.
With Maven poms can reference remote repositories and depending on your settings.xml configuration they may be used.
post by zillag on Nov 19, 2024
Sure. But is there anything obvious in the proxy settings page I show? Thanks.