fabric-loom icon indicating copy to clipboard operation
fabric-loom copied to clipboard

Depending on a mod with transitive non-mods deps exposes those deps in pom.xml

Open Juuxel opened this issue 2 years ago • 0 comments

For example, if a mod depends on Fabric Language Kotlin with modImplementation, its POM will contain

  • A runtime dep on FLK as expected
  • Extra runtime deps on...
    • kotlin stdlib modules
    • kotlinx-serialization
    • kotlin-reflect

when set up normally with software components.

This happens because we add the non-mod artifacts from mod* configs into the standard configs - like implementation - directly. Not sure what a good fix would be, though.

Juuxel avatar Jan 12 '22 14:01 Juuxel