Add full offline Android Gradle Plugin dependency cache
This commit is contained in:
@@ -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})"
|
||||
|
||||
Reference in New Issue
Block a user