maruohon / malilib

Library mod for masa's client-side Minecraft mods
GNU Lesser General Public License v3.0
294 stars 124 forks source link

Experimental support for Brachyura #63

Closed DragonEggBedrockBreaking closed 2 years ago

DragonEggBedrockBreaking commented 2 years ago

Brachyura is a build system for Java, specifically made for Minecraft mods. It is significantly faster, has more reproducible builds, and doesn't randomly break.

The command to build (artifacts in build/libs/): java -jar brachyura-bootstrap-0.jar build

The command to run client (mc data store in run/): java -jar brachyura-bootstrap-0.jar runMinecraftClient

To use more threads while building, use -j {NUMBER_OF_THREADS}.

To update brachyura version, delete brachyura-bootstrap-0.jar and brachyurabootstrapconf.txt, and download them for the newest brachyura version from https://github.com/CoolCrabs/brachyura/releases. This PR contains Brachyura 0.37 (which is the latest version as of making this PR).

DragonEggBedrockBreaking commented 2 years ago

Maven publishing now supported. java -jar brachyura-bootstrap-0.jar publish, with the id being in the buildscript, and the maven, username, and password through env variables. Generates poms and sha1 hashes.

DragonEggBedrockBreaking commented 2 years ago

this (1.18) PR will be redone