summaryrefslogtreecommitdiffstats
path: root/.ci/scripts/android/build.sh
diff options
context:
space:
mode:
Diffstat (limited to '.ci/scripts/android/build.sh')
-rwxr-xr-x.ci/scripts/android/build.sh12
1 files changed, 12 insertions, 0 deletions
diff --git a/.ci/scripts/android/build.sh b/.ci/scripts/android/build.sh
new file mode 100755
index 000000000..1d669919c
--- /dev/null
+++ b/.ci/scripts/android/build.sh
@@ -0,0 +1,12 @@
+#!/bin/bash -ex
+
+export NDK_CCACHE="$(which ccache)"
+ccache -s
+
+BUILD_FLAVOR=mainline
+
+cd src/android
+chmod +x ./gradlew
+./gradlew "assemble${BUILD_FLAVOR}Release" "bundle${BUILD_FLAVOR}Release"
+
+ccache -s