-
Notifications
You must be signed in to change notification settings - Fork 3
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Extra maps #15
base: master
Are you sure you want to change the base?
Extra maps #15
Conversation
Hmm, could this be used to make mixin configs too? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'm not a fan of putting unrelated file stuff inside the same DSL. mods.groovy isn't really intended for this.
If you really want to go down this route, I also think you should make it a bit smarter than just a plain Groovy version of the existing json/toml. For example, the Mixin compatibilityLevel should be inferred based on the MC version range in the deps.
This PR implements extra maps, which are used for additional files (like
pack.mcmeta
and mixin json files)For now, only a
pack.mcmeta
extra map is implemented, in the forge version.Note: this PR was practically not possible without the breaking changes to
AbstractConvertTask
.