blob: c30e3ca77cfa783d6346a0eac3c6d5c546c60671 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
|
#!/usr/bin/env bash
set -eu
SCRIPT_DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
cd "$SCRIPT_DIR"
echo "### Updating dependency lockfile ###"
echo ""
echo "Removing old components..."
sed -i '/<components>/,/<\/components>/d' ../gradle/verification-metadata.xml
echo "Generating new components..."
android_container_image_name=$(cat "../../building/android-container-image.txt")
podman run --rm -it \
-v ../..:/build:Z \
"$android_container_image_name" \
android/gradlew -q -p android -M sha256 assembleAndroidTest
|