storj/lib/uplink-gomobile/test-libuplink-android.sh

11 lines
388 B
Bash
Raw Normal View History

#!/bin/bash
set -ueo pipefail
echo "Executing gomobile bind"
gomobile bind -target android -o libuplink_android/app/libs/libuplink-android.aar -javapkg io.storj.libuplink storj.io/storj/mobile
cd libuplink_android
# Might be easier way than -Pandroid.testInstrumentationRunnerArguments
2019-10-04 10:37:47 +01:00
./gradlew connectedAndroidTest -Pandroid.testInstrumentationRunnerArguments.scope=$GATEWAY_0_SCOPE