Files
hex-mines/build-debug-apk.sh
T
DawnsorrowandCursor 1ae7c24706 Initial Hex Mines fork with hex tiles and mine-count slider.
Based on StefanOltmann/mines (AGPL-3.0): flat-top hex grid, configurable
board size, and a mine-count slider replacing fixed difficulty presets.

Co-authored-by: Cursor <[email protected]>
2026-07-29 07:32:33 -05:00

11 lines
339 B
Bash
Executable File

#!/usr/bin/env bash
set -euo pipefail
ROOT="$(cd "$(dirname "$0")" && pwd)"
export ANDROID_HOME="${ANDROID_HOME:-$ROOT/.android-sdk}"
export JAVA_HOME="${JAVA_HOME:-$ROOT/.jdks/jdk-21.0.11+10}"
export PATH="$JAVA_HOME/bin:$PATH"
cd "$ROOT"
./gradlew :app:assembleDebug "$@"
echo
echo "APK: $ROOT/app/build/outputs/apk/debug/app-debug.apk"