fabric-loom
fabric-loom copied to clipboard
Dependencies from non-mod configurations aren't included in the POM
Normally you'd use from components.java
to include deps from api
/implementation
, but that doesn't work with Loom additions like the remapped/dev jars.
This was done specifically to stop mc deps leaking in. Among other reasons. Gradle should allow you to specify what you want in the pom
There's no clean way to do it, though, since the standard way of from components.java
just causes an error. Some mods (like mine) want to have non-mod deps that are still exposed, and mod*
configurations just put them through pointless remapping.
I think the "clean" way here is to manually write the xml using pom.withXml { .. }
Fixed by #460.