1) I have no idea what might have changed in their build workflow since more than a year ago.So I've spent days trying to figure out how to compile this game from the developer's repo (I actually was given access to the developer's private repo that is up to date, but I'm too embarrassed to ask him for help with running/compiling the game) and Java keeps constantly fucking me over. If you could help me out I will love you forever.
I've deleted the android stuff from settings.gradle and build.gradle. But when I run gradlew.bat it throws an exception and says gradle could not determine my Java version (java 11).
I've tried using the latest version of gradle and also tried using the version of gradle that the project uses which if you go to "repo\gradle\wrapper\gradle-wrapper.properties" says is gradle-4.1-all, but both versions give me the error. I've also tried changing that gradle-wrapper.properties file and set it to use the latest version of gradle instead of 4.1 but still the same error.
Just curious but do you remember what version of Java you were using when you last built it, or do you know what might be wrong? I don't really want to uninstall Java then install an older version if I don't have to, since doing that and changing the environment variables is a pain. Any help would be greatly appreciated.
2) Assuming that the bat file is invoked from the console (i recommend running via Powershell) it helps to make sure that JAVA_HOME environment variable is visible to it. No idea how to check that out on win, but a simple search will let you get that info.
3) It was java 8 i guess.
UPD: gci env: should display all env vars available to the PowelShell