feat(kotlin-compose): design system + 33 components + gallery_kt + e2e android emulator + scaffolder fixes

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
This commit is contained in:
2026-05-11 16:28:50 +02:00
parent 0bdb8454e1
commit cb6d9e61d1
152 changed files with 148262 additions and 25 deletions
@@ -0,0 +1,31 @@
#!/usr/bin/env bash
# gradle_instrumented_test — corre instrumented tests Compose en emulador/device Android conectado
set -euo pipefail
SCRIPT_DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"
source "$SCRIPT_DIR/gradle_run.sh"
source "$SCRIPT_DIR/adb_wsl.sh"
gradle_instrumented_test() {
local project_dir="${1:?project_dir required}"
local module="${2:-app}"
# Verificar device o emulador conectado
local devices
devices=$(adb_run devices | tail -n +2 | grep -E "(emulator|device)$" || true)
if [[ -z "$devices" ]]; then
echo "no Android device/emulator connected. Run android_emulator_start first." >&2
return 3
fi
local exit_code=0
gradle_run "$project_dir" ":${module}:connectedDebugAndroidTest" || exit_code=$?
echo "REPORT: ${project_dir}/${module}/build/reports/androidTests/connected/index.html"
return "$exit_code"
}
if [[ "${BASH_SOURCE[0]}" == "$0" ]]; then
gradle_instrumented_test "$@"
fi