cabaletta / baritone

google maps for block game
GNU Lesser General Public License v3.0
7.28k stars 1.45k forks source link

How would I compile Baritone for 1.21.3 using ItelliJ? #4557

Open criscanz opened 5 days ago

criscanz commented 5 days ago

What do you need help with?

With as much detail as possible, describe your question and what you may need help with. I need help with building the jar files from IntelliJ Community edition, using java 8. I cant find a dist directory where the files are outputted to, and it seems that nothing is outputted at all.

Final checklist

Chanlanfan commented 4 days ago

Is it just Baritone that doesn't work? Have you tried another project? Have you read the logs, if so: are there any hints?

ZacSharp commented 4 days ago

You say you can't find the dist directory, did you make sure the build completed successfully? The dist directory is created as the last build step so if anything fails it won't be there.

criscanz commented 2 days ago

I have checked for the dist directory, and it has successfully built the project. I tried manually setting the artifact output, but that still didn't change anything. It could be my IntelliJ version, or Java versions (could be using Java 21, 8, or 17, which are all on my system, but I set java 8 and restarted.) Ill comeback to this when I have the time, but for now Ill double check everything.

ZacSharp commented 1 day ago

Java version shouldn't matter too much, I think, since gradle can download a fitting runtime automatically. Besides that, my system default is java 21 and that's also what our CI build for mc 1.21 uses (CI for 1.19 uses java 17).