1
0
Fork 0
mirror of https://github.com/syncthing/syncthing-android.git synced 2024-11-25 22:01:16 +00:00
syncthing-android/docker/prebuild.sh
Simon Frei f0762bab12
Bump SDK to 32 (#1896)
This is just a "minor" upgrade for android "12L" - some tablet related
improvements we likely don't care about. This bump is to support a contribution
to migrate our UI from something legacy to an up-to-date default framework that
requires >=32.
2023-03-26 18:40:00 +02:00

10 lines
306 B
Bash
Executable file

#!/bin/bash -e
[ -z "$SYNCTHING_ANDROID_PREBUILT" ] && echo "Prebuild disabled" && exit 0
echo "Prepopulating gradle and go build/pkg cache"
git clone --recurse-submodules https://github.com/syncthing/syncthing-android
cd syncthing-android
./gradlew --no-daemon lint build
cd ..
rm -rf syncthing-android