@Incubating public interface ConfigurationVariantDetails
Modifier and Type | Method | Description |
---|---|---|
ConfigurationVariant |
getConfigurationVariant() |
The configuration variant
|
void |
mapToMavenScope(String scope) |
Provides information about how to publish to a Maven POM file.
|
void |
mapToOptional() |
Provides information about the optional status of this added configuration variant.
|
void |
skip() |
Marks this configuration variant as being skipped when publishing.
|
ConfigurationVariant getConfigurationVariant()
void skip()
void mapToOptional()
optional
.default
configuration.void mapToMavenScope(String scope)
scope
- the Maven scope to use for dependencies found in this configuration variant