the java-platform plugin publishes a module that contains 2 variants (usage = java-api and java-runtime)
consuming that platform means adding it as a platform dependency to a particular configuration (api or whatever)
the java-test-fixtures plugin creates api and implementation configurations which are published as similar variants (all the same attributes, name prefixed with testFixtures)
Variant Selection and Attribute Matching says that candidates are matched by attribute only, names are for diagnostics only.
Assume a given platform is needed by both api and testFixturesApi, is it correct to say that the platform only needs to be added to the api configuration into order to function because testFixturesApi has the same attributes as api?
reason to ask is because I see that adding a platform to testFixturesApi is changing the results of resolution (specifically for certain dependencies, the testFixturesApiElements variant is no longer selected) but a version is still automatically discovered via the platform for such dependencies.