Context:
- https://github.com/SettingDust/cloche/blob/feature/extract-includes/src/main/kotlin/earth/terrarium/cloche/target/TargetCompilation.kt#L121-L124
- cloche/src/main/kotlin/earth/terrarium/cloche/Attributes.kt at feature/extract-includes · SettingDust/cloche · GitHub
In my test project. I’m requesting the attribute in dependency configure.
implementation("io.github.llamalad7:mixinextras-forge:0.5.0-rc.2") {
attributes {
attribute(IncludeTransformationState.ATTRIBUTE, IncludeTransformationState.Extracted)
}
}
But it will failing with below error. The include state won’t try to transform with the action registered above
Incompatible because this component declares a component, as well as attribute 'earth.terrarium.cloche.includeState' with value 'None', attribute 'earth.terrarium.cloche.modState' with value 'none', attribute 'earth.terrarium.cloche.noNameMappingService' with value 'false' and the consumer needed a component, as well as attribute 'earth.terrarium.cloche.includeState' with value 'Extracted', attribute 'earth.terrarium.cloche.modState' with value 'forgeRemapped', attribute 'earth.terrarium.cloche.noNameMappingService' with value 'true'