@echo off
@REM -------------------------------------------------------
@REM YaoAI Comic Studio — Windows build helper
@REM Overrides JAVA_HOME to JDK 17, then delegates to mvn.
@REM -------------------------------------------------------

set "JAVA_HOME=D:\Program Files\Java\jdk-17"
set "PATH=%JAVA_HOME%\bin;%PATH%"

echo Using Java: %JAVA_HOME%
"%JAVA_HOME%\bin\java.exe" -version

mvn %*
