@echo off
chcp 65001 >nul
cd /d "%~dp0"
call gradlew.bat assembleDebug
if errorlevel 1 goto :fail
echo APK_READY=app\build\outputs\apk\debug\app-debug.apk
pause
exit /b 0
:fail
echo BUILD_FAILED
pause
exit /b 1
