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

disableRemappedVariants does not disable the remapped variants #961

Open Juuxel opened 11 months ago

Juuxel commented 11 months ago

It only prevents Loom from removing the original jars, but the new artifacts are added to apiElements and runtimeElements unconditionally:

https://github.com/FabricMC/fabric-loom/blob/b7c80133ce9e6f13ced8ee2634f2f62690eff2e9/src/main/java/net/fabricmc/loom/task/RemapTaskConfiguration.java#L76-L90