Add full offline Android Gradle Plugin dependency cache

This commit is contained in:
lendry
2026-06-26 23:05:44 +03:00
parent 0a020d6857
commit 73c292b3a5
138 changed files with 5270 additions and 47 deletions

View File

@@ -15,6 +15,10 @@ copy_bundled() {
echo "Bundled AGP cache is incomplete (missing builder:${AGP_VERSION}). Run populate-offline-agp.sh on a machine with internet." >&2
return 1
fi
if [ ! -f "${BUNDLED_REPO}/androidx/webkit/webkit/1.14.0/webkit-1.14.0.pom" ]; then
echo "Bundled AndroidX cache is incomplete (missing webkit:1.14.0). Run populate-offline-agp.sh on a machine with internet." >&2
return 1
fi
mkdir -p "${LOCAL_REPO}"
cp -a "${BUNDLED_REPO}/." "${LOCAL_REPO}/"
echo "==> AGP ${AGP_VERSION} copied from bundled offline cache (${BUNDLED_REPO})"