Description
It seems that Gradle 8 enforces that 2 configuration cannot have the same attributes.
In my project I am seeing this issue:
Consumable configurations with identical capabilities within a project (other than the default configuration) must have unique attributes, but configuration ':bootArchives' and [configuration ':archives'] contain identical attribute sets. Consider adding an additional attribute to one of the configurations to disambiguate them. Run the 'outgoingVariants' task for more details. See https://docs.gradle.org/8.0.2/userguide/upgrading_version_7.html#unique_attribute_sets for more details.
I suggest adding an attribute for the bootArchives configuration that will distinguish between the two.
Perhaps leverage the bundling attribute and set it to embedded.
https://docs.gradle.org/current/userguide/variant_attributes.html#sec:standard_attributes