I have changed gradle-wrapper.properties
distribution URL to download the wrapper from our internal Nexus server, and this works, but I noticed, while developing a plugin, that the Gradle source zip gets downloaded from elsewhere:
Download https://nexus.corp.com/repository/gradle-distributions/gradle-7.5-bin.zip, took 8 m 54 s 967 ms (120.63 MB)
Starting Gradle Daemon...
Gradle Daemon started in 1 s 259 ms
> Task :prepareKotlinBuildScriptModel UP-TO-DATE
Download https://services.gradle.org/distributions/gradle-7.5-src.zip, took 4 m 24 s 642 ms (44.61 MB)
BUILD SUCCESSFUL in 5m 37s
As can be seen, the sources zip gets downloaded from https://services.gradle.org/distributions
.
What setting can I change so that the sources zip also downloads from https://nexus.corp.com/repository/gradle-distributions
?