Files
distant-horizons-sharded/winAutoBuild.bat
T
James Seibel e460aa2e0d potentially fix the build scripts
note to self: if there are missing core classes when running the game, build core first then build the rest
2022-07-07 20:38:40 -05:00

19 lines
436 B
Batchfile

@echo off
SETLOCAL
CALL :buildVersion "1.19"
CALL :buildVersion "1.18.2"
CALL :buildVersion "1.18.1"
CALL :buildVersion "1.17.1"
CALL :buildVersion "1.16.5"
EXIT /B %ERRORLEVEL%
:buildVersion
@echo on
call ./gradlew.bat clean -PmcVer="%~1" --no-daemon
call ./gradlew.bat core:build -PmcVer="%~1" --no-daemon
call ./gradlew.bat build -PmcVer="%~1" --no-daemon
call ./gradlew.bat mergeJars -PmcVer="%~1" --no-daemon
@echo off
EXIT /B 0