@echo off
echo ================================
echo    Flutter + Android Cleaner
echo ================================

echo.
echo [1/4] Cleaning Flutter pub cache...
call "D:\Tools\Flutter\flutter\bin\flutter.bat" pub cache clean

echo.
echo [2/4] Cleaning Gradle cache...
rd /s /q "%USERPROFILE%\.gradle\caches" 2>nul
echo Gradle cache cleared!

echo.
echo [3/4] Cleaning pub-cache packages...
rd /s /q "%USERPROFILE%\.pub-cache\hosted" 2>nul
echo Pub cache cleared!

echo.
echo [4/4] Done! Restart CMD untuk apply perubahan PATH.
echo.
pause