For AI agents: the documentation index is at https://docs.gradle.org/llms.txt. Request any page with the header Accept: text/markdown to get Markdown. User manual pages are also available as Markdown by replacing .html with .md in the URL.

suppressPomMetadataWarningsFor

abstract fun suppressPomMetadataWarningsFor(variantName: String)(source)

Silences the compatibility warnings for the Maven publication for the specified variant. Warnings are emitted when Gradle features are used that cannot be mapped completely to Maven POM.

Since

6.0

Parameters

variantName

the variant to silence warning for