Nadav Gampel
05/28/2025, 11:58 AMValentin Rocher
05/28/2025, 12:58 PMmavenLocal
repository in your repositories definition ? Otherwise Gradle fetches dependencies from the repositories you definedNadav Gampel
05/28/2025, 1:00 PMNadav Gampel
05/28/2025, 1:00 PMValentin Rocher
05/28/2025, 1:00 PMVampire
05/28/2025, 3:47 PMmavenLocal()
. And if you really need to use mavenLocal()
it should always be last in the list of repositories, and optimally always with a repository content filter that controls what exactly is taken from there.
That the artifacts taken from Maven Local are not added to the Gradle Cache is normal. One of the greatest strengths of Gradle is to avoid unnecessary work, and copying around the local file from Maven Local to the Gradle Cache would be such unnecessary work, so if done properly, it is directly used from that repository.Nadav Gampel
05/28/2025, 4:08 PMNadav Gampel
05/28/2025, 4:09 PMVampire
05/28/2025, 4:09 PMNadav Gampel
05/28/2025, 4:09 PMNadav Gampel
05/28/2025, 4:09 PMVampire
05/28/2025, 4:10 PMVampire
05/28/2025, 4:10 PMVampire
05/28/2025, 4:11 PMNadav Gampel
05/28/2025, 4:14 PM