blob: 3afa0c8606ba7c977ffb07f87f69a4bce722cb5f (
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" \
bash -c 'android/gradlew -q -p android -M sha256 assemble compileDebugUnitTestKotlin assembleAndroidTest lint'
|