Skip to content

Instantly share code, notes, and snippets.

View Phelms215's full-sized avatar

Patrick Helms Phelms215

View GitHub Profile
@jakobkmar
jakobkmar / fabric_transitive_include.md
Last active November 18, 2023 22:45
Make fabric-loom's `include` transitive

fabric-loom transitive include

First of all, this should only be used in very special cases. Including dependencies in your mod transitively means that you always have to check whether there are any unwanted dependencies down the line, and exclude these.

Note: if you use languages other than Java, e.g. Kotlin, the likelyhood that you need transitive includes increases

Create the custom configuration

First, create a custom configuration. This is also where you specifiy the excludes.