nick dipatri
09/11/2023, 6:42 PM@DefaultArgumentInterop.Enabled
annotation.
After just pulling in the plugin (nothing else), I get a Gradle sync error..
so with:
..
id("co.touchlab.faktory.kmmbridge") version "0.3.7"
id("co.touchlab.skie") version "0.4.19"
...
I get the enclosed gradle sync error....Caused by: org.gradle.api.GradleException: Consumable configurations with identical capabilities within a project (other than the default configuration) must have unique attributes, but configuration ':common:mock-framework:archives' and [configuration ':common:mock-framework:adviceAllProducer'] contain identical attribute sets. Consider adding an additional attribute to one of the configurations to disambiguate them. Run the 'outgoingVariants' task for more details. For more information, please refer to <https://docs.gradle.org/8.3/userguide/upgrading_version_7.html#unique_attribute_sets> in the Gradle documentation.
kpgalligan
09/11/2023, 6:47 PMnick dipatri
09/11/2023, 8:24 PMkpgalligan
09/11/2023, 9:14 PMnick dipatri
09/12/2023, 3:02 PMval myAttribute = Attribute.of("myOwnAttribute", String::class.java)
configurations.named("archives").configure {
attributes {
// put a unique attribute
attribute(myAttribute, "release-all")
}
}
and it just cascaded into yet another configuration that was ambiguous and I couldn't get the errors to stop 🙂
I'll revisit at some point in the future.