FabricMC / fabric-loom

Gradle build system plugin used to automate the setup of a minecraft mod development environment.
MIT License
233 stars 201 forks source link

Skip remapping in `AbstractRemapJarTask`s when source and target namespaces match #985

Closed jpenilla closed 9 months ago

jpenilla commented 9 months ago

The "remap jar" tasks have much more functionality than simply remapping jars at this point, such as adding namespace metadata, nesting jars, ensuring reproducible builds, etc. Some custom build logic may want to take advantage of these features without the full overhead of no-op remapping with TinyRemapper/Mercury.

modmuss50 commented 9 months ago

Good idea! This could do with a intergration tests, can likely just add it to an existing one. Such as the simple one.

jpenilla commented 9 months ago

Added to the simple integration test.