@echo off
echo ========================================
echo SafeCheckIn Cloud Client Build Script
echo ========================================
echo.

echo 1. Cleaning previous builds...
call gradlew clean

echo.
echo 2. Building release APK...
call gradlew assembleRelease

echo.
echo 3. Building debug APK...
call gradlew assembleDebug

echo.
echo 4. Listing output files...
echo.
dir app\build\outputs\apk\release\*.apk /b
dir app\build\outputs\apk\debug\*.apk /b

echo.
echo ========================================
echo Build completed!
echo Release APK: app\build\outputs\apk\release\app-release.apk
echo Debug APK: app\build\outputs\apk\debug\app-debug.apk
echo ========================================
pause