adds a new gradle.properties entry, stripForgeRequirements, which defaults to false.
sets the new stripForgeRequirements to false if unset.
adds com.cleanroommc:strip-latest-forge-requirements:1.0 via runtimeOnlyNonPublishable if stripForgeRequirements is true and mixins are enabled (either forcefully or standard).
this is done so that when you need to add dependencies which require at least a specific forge version, you dont have to manually add this mod, and its just a config change away.
if it didnt require mixins to be enabled i would want it set to true by default, but since it does in fact require mixins, that would cause it to be a weird side-effect of enabling mixins. as such, its a separate setting with a comment indicating it needs mixins to be enabled.
changes in this PR:
gradle.properties
entry,stripForgeRequirements
, which defaults tofalse
.stripForgeRequirements
tofalse
if unset.com.cleanroommc:strip-latest-forge-requirements:1.0
viaruntimeOnlyNonPublishable
ifstripForgeRequirements
is true and mixins are enabled (either forcefully or standard).this is done so that when you need to add dependencies which require at least a specific forge version, you dont have to manually add this mod, and its just a config change away.
if it didnt require mixins to be enabled i would want it set to
true
by default, but since it does in fact require mixins, that would cause it to be a weird side-effect of enabling mixins. as such, its a separate setting with a comment indicating it needs mixins to be enabled.