aboutsummaryrefslogtreecommitdiffstats
path: root/packaging/android
diff options
context:
space:
mode:
authorGravatar Dirk Hohndel <dirk@hohndel.org>2020-11-19 15:16:47 -0800
committerGravatar Dirk Hohndel <dirk@hohndel.org>2020-11-19 17:18:33 -0800
commite3d4b91070cd291615d8528decb555cd4f394c7f (patch)
tree1eada98cec2640cd2625a955ed884c4c9337103d /packaging/android
parent706f44a13cffd841b5bd0fe0fa84a37465643e23 (diff)
downloadsubsurface-e3d4b91070cd291615d8528decb555cd4f394c7f.tar.gz
android: ensure that gradle can handle UTF8 files
This should be the case automatically, but appears to fail when run as part of the GitHub Action. Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'packaging/android')
-rwxr-xr-xpackaging/android/qmake-build.sh1
1 files changed, 1 insertions, 0 deletions
diff --git a/packaging/android/qmake-build.sh b/packaging/android/qmake-build.sh
index 663e8628e..ebaf89c51 100755
--- a/packaging/android/qmake-build.sh
+++ b/packaging/android/qmake-build.sh
@@ -37,6 +37,7 @@ source $SUBSURFACE_SOURCE/packaging/android/variables.sh
# directory hierarchy as the SDK and NDK
export ANDROID_NDK_ROOT="$SUBSURFACE_SOURCE/../$ANDROID_NDK"
export ANDROID_SDK_ROOT="$SUBSURFACE_SOURCE/.."
+export JAVA_OPTS="-Dsun.jnu.encoding=UTF-8 -Dfile.encoding=UTF-8"
QUICK=""
ARCHITECTURES=""