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.

ConfigurationVariantDetails

The details object used to determine what to do with a configuration variant when publishing.

This type also contains Maven specific information used to map the variant to a Maven POM file.

Since

5.3

Functions

Link copied to clipboard
The configuration variant
Link copied to clipboard
abstract fun mapToMavenScope(scope: String)
Provides information about how to publish to a Maven POM file.
Link copied to clipboard
abstract fun mapToOptional()
Provides information about the optional status of this added configuration variant.
Link copied to clipboard
abstract fun skip()
Marks this configuration variant as being skipped when publishing.