MavenGradleModuleMetadataPublishIntegrationTest.groovy

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.