Skip to content

Dependencies with remapped source are unable to be depended on cleanly. #69

@GBroad

Description

@GBroad

Take two plugins, A and B.

Both A and B depend on a mojang mapped spigot. B depends on A.

When building A and remapping, all is fine.

But when B depends on A, A's pom still uses the remapped NMS, but of course, since A's source now uses obfuscated NMS, it can't build properly. Using certain methods (which use NMS) from A leads to a build error for B, looking like: "Cannot access class:".

SpecialSource could:

  • Remap the pom too (Unsure if this is even possible) This isn't ideal as now you're working with two versions of NMS in your IDE when working on B, one of which is wrong.
  • Build a mojang mapped version also (Non-remapped, if you will) for any plugins that depend on it.
  • Something else I'm not aware of, it's a messy situation and I'm unsure.

Currently, I have to import the obfuscated nms as well, which leads back to: "This isn't ideal as now you're working with two versions of NMS in your IDE when working on B, one of which is wrong."

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions