Proxy Server

Proxy Server

27.2k Downloads

Instructions / Script for compiling in Windows.

XfedeX opened this issue ยท 2 comments

commented

When I try to generate sources for Eclipse or building, i get error java.lang.IllegalArgumentException: Unsupported class file major version 60.
A nice, pre-done build script would probably fix that.

Also this needs a decent readme.

commented

What's your version of java? If 16, then probably an error due to the fact that gradle does not support it

This mod can be imported and built in the same way as all other mods for the fabric
https://fabricmc.net/wiki/tutorial:setup

In IDEA, it's just import "build.gradle", wait for gradle to do everything and select on the right: Gradle -> %project_name% -> Tasks -> build -> build

commented

Thank you, but please add these scripts anyway:

Proxyserver\scripts\GenSources-eclipse.bat :

@echo off
echo ServerProxy
echo.
echo Generating sources and setting up Eclipse...
cd ..
call gradlew.bat genSources
call gradlew.bat eclipse
pause

Proxyserver\scripts\build.bat:

@echo off
echo ProxyServer
echo.
echo Compiling...
cd ..
call gradlew.bat build
echo.
echo Done. Check for errors above before closing this window!

pause