Add validation at publication time This commit introduces validation when generating Gradle Module Metadata:
- check that there's at least one variant published - each variant must have at least one attribute - there shouldn't be duplicate variant names - each variant must have a different (attributes,capabilities) combination
Rename inheritStrictVersions() -> endorseStrictVersions() (#10755) This name change more clearly communicates the semantics of the feature from a users point of view.
This commit also removes all mentions of 'inheriting' AND 'forSubgraph'. There have been some leftovers in documentation/comments that would have been misleading in the future. To make sure we catch all, this also updates all variable/method/package names.