# Gradle not using proxy repo?

**URL:** https://community.sonatype.com/t/gradle-not-using-proxy-repo/13870
**Category:** Sonatype Nexus Repository
**Tags:** nexus-repository
**Created:** [November 16, 2024, 4:45pm UTC](https://community.sonatype.com/t/gradle-not-using-proxy-repo/13870 "2024-11-16T16:45:08Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![zillag](https://avatars.discourse-cdn.com/v4/letter/z/ed655f/32.png) [@zillag](https://community.sonatype.com/u/zillag)
#### Post date: [November 16, 2024, 4:45pm UTC](https://community.sonatype.com/t/gradle-not-using-proxy-repo/13870/1 "2024-11-16T16:45:10Z")

</div>

Using Nexus-OSS 3.70.2

I set up a proxy repo for the Apache Maven2 repo, like this

 ![Screenshot 2024-11-16 at 11.36.11 AM](https://canada1.discourse-cdn.com/flex047/uploads/communitysonatype/original/2X/5/5451c5d9fb892e499b5741f53ce6b3ce3a782048.png)

However, my Gradle builds still show, for example,

```auto
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!

---

<div class="post-metadata">

### Author: ![mpiggott](https://avatars.discourse-cdn.com/v4/letter/m/f0a364/32.png) [@mpiggott](https://community.sonatype.com/u/mpiggott)
#### Post date: [November 19, 2024, 4:09pm UTC](https://community.sonatype.com/t/gradle-not-using-proxy-repo/13870/2 "2024-11-19T16:09:43Z")

</div>

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.

---

<div class="post-metadata">

### Author: ![zillag](https://avatars.discourse-cdn.com/v4/letter/z/ed655f/32.png) [@zillag](https://community.sonatype.com/u/zillag)
#### Post date: [November 20, 2024, 12:02am UTC](https://community.sonatype.com/t/gradle-not-using-proxy-repo/13870/3 "2024-11-20T00:02:27Z")

</div>

Sure. But is there anything obvious in the proxy settings page I show? Thanks.
