Hello,
I’m working on an Android project that I ported over to a Gradle and Android Studio project in an isolated environment.
The Gradle distribution, as well as all packages, are provided by our in-house repository. As such, the settings.gradle.kts at the root of the project points towards this repository, as well as the distribution URL for Gradle in gradle/gradle-wrapper/gradle-wrapper.properties.
While syncing the project with Gradle, we’re running into an issue where we get "Error : could not head ‘https://services.gradle.org/distributions/gradle-8.4-src.zip’. (I can join the complete error log on demand.)
The error doesn’t seem to really impact the whole project : we are still able to build APKs and work with the project. However, this does impact adoptability of Gradle for our whole squad, and we would like to understand where the issue is coming from, so that the rest of our team are able to use Gradle seamlessly.
I don’t seem to be able to find the URL anywhere in my project. Which setting would set this up ? Is there a configuration I must add for this ?