Skip to content

Add support for build-time squashing/flattening #14

Description

@PaintNinja

Forge's JarJar supports recursion, meaning an embedded dep may itself embed additional deps, and therefore requires checking all embedded jars just in case they might also embed more jars.

In new loader, recursion is not supported as it's relatively slow and adds unwanted complexity. Instead, we need to flatten embedded jars at build time. For example...

Before:

- foo.jar
    - bar.jar
        - bar-core.jar
        - bar-extra.jar
            - baz.jar

After:

- foo.jar
    - bar.jar
    - bar-core.jar
    - bar-extra.jar
    - baz.jar

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