mirror of
git://code.qt.io/qt/qt5.git
synced 2026-08-31 22:57:21 +08:00
cdadd80b87
Qt for Android builds run Gradle which needs to frequently request download artifacts from Gradle and Maven, and that can sometimes fail due to network issues, or worse in times or many request might get temporarily blocked. To avoid that, this uses the internal Gradle mirror. This is done by installing an init script routing every repository through the internal Nexus mirror. Also, since Qt's build runs offline, ~/.gradle must be fully prepared during provisioning, without reaching public repositories. That's achieve by priming the cache by building the shared proiect and seeding the Gradle distribution from the internal mirror into the wrapper cache, so no wrapper externally request Gradle. Pick-to: 6.12 Fixes: QTQAINFRA-6166 Task-number: QTQAINFRA-7942 Change-Id: I1e8dacf8ea5f3c492f12270c5f407bd4e5a2e756 Reviewed-by: Ville-Pekka Karhu <ville-pekka.karhu@qt.io>