Skip to content

[Suggestion] Add shadow plugin to UMC mods #204

@Goldenfield192

Description

@Goldenfield192

Need discussion
Add shadow plugin in template buildscript ad something like this in umc.json

//inside mod block
        "libraries" : [
            {
                "repository": "maven repo",
                "artifact": "groovy short format, like net.neoforged.gradleutils:GradleUtils:3.0.0-alpha.4-SNAPSHOT",
                "type": "runtime/shadow",
                "relocate" : "if shadow enabled, set true to shadow into pkg.shade",
                "relocated_package" : "if shadow enabled, which package to relocate?",
                "only_in" : [
                    "e.g. 1.12.2-forge","1.20.1-forge"
                ]
            }
        ]

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions