cabaletta / baritone

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

How to compile the baritone folder into an executable jar file? #4540

Open AVGCODESpy opened 3 weeks ago

AVGCODESpy commented 3 weeks ago

I never used java before. I'm on Minecraft 1.21 and with the help of #4466 I made baritone compatible with that version. The only issue is that I don't know how to compile it into an executable jar file so I can use it. Thanks!

awesomeshot5051 commented 3 weeks ago

What IDE are you using? I just went through this as well. I was using Intellij. I had to pop out the Gradle menu, then under Tasks->unimined I double click remapJar. It compiles all the versions into a usable jar file located at (in the explorer) ->build->libs image image

Blaze8834 commented 2 weeks ago

open powershell, cd to the baritone folder, and do ./gradlew build. this will take a bit, but there will now be a folder called builds. the jar file can be found there