Skip to content
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

Remapping inputs and outputs #34

Open
zml2008 opened this issue Apr 27, 2021 · 0 comments
Open

Remapping inputs and outputs #34

zml2008 opened this issue Apr 27, 2021 · 0 comments
Labels
type: enhancement New feature or request
Milestone

Comments

@zml2008
Copy link
Member

zml2008 commented Apr 27, 2021

While SpongeVanilla has the luxury of not requiring output remapping, most other platforms do not compile directly to official names.

VG core would support remapping to obfuscated names, with the ability for extension plugins to register additional mapping formats (SRG, etc).

Dependencies may come in from different mappings formats as well -- those would need to be remapped (either via artifact transforms, or the same sort of beforeResolve/eachDependency hook we use for MC itself).

The specific mappings used should be published as part of the Gradle module metadata, as an attribute on the outgoing configurations, so we can eventually provide easier detection of which mappings mods use.

Once there's a system for declaring additional mappings formats, we will support remapping Minecraft itself to different mappings (for yarn, or on older versions MCP) since it's necessary to provide an accurate classpath when remapping mods. This might be exposed to end-users who want to use alternate mappings in their dev environment, but that is not a primary goal of this project.

@zml2008 zml2008 added the type: enhancement New feature or request label Apr 27, 2021
@zml2008 zml2008 added this to the 0.3 milestone Apr 27, 2021
@zml2008 zml2008 modified the milestones: 0.3, 0.2.1 Jul 27, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type: enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant