mirror of
https://github.com/rememberber/MooTool.git
synced 2026-12-01 03:18:19 +08:00
Create an independent Gradle product with 26-tool navigation, isolated data paths, and a real JSON format/find/history/vault flow so the first slice can build and run without depending on other MooTool lines. Co-authored-by: Cursor <cursoragent@cursor.com>
14 lines
350 B
Bash
Executable File
14 lines
350 B
Bash
Executable File
#!/usr/bin/env bash
|
|
set -euo pipefail
|
|
ROOT="$(cd "$(dirname "$0")/.." && pwd)"
|
|
if [[ -z "${JAVA_HOME:-}" ]]; then
|
|
if /usr/libexec/java_home -v 21 >/dev/null 2>&1; then
|
|
export JAVA_HOME="$(/usr/libexec/java_home -v 21)"
|
|
fi
|
|
fi
|
|
echo "JAVA_HOME=${JAVA_HOME:-unset}"
|
|
java -version
|
|
cd "$ROOT"
|
|
./gradlew --version
|
|
./gradlew :composeApp:printTooling
|