@Incubating public interface VariantVersionMappingStrategy
Modifier and Type | Method | Description |
---|---|---|
void |
fromResolutionOf(String configurationName) |
Declares that this variant should use versions from the resolution
of the configuration provided as an argument.
|
void |
fromResolutionOf(Configuration configuration) |
Declares that this variant should use versions from the resolution
of the configuration provided as an argument.
|
void |
fromResolutionResult() |
Declares that this variant should use versions from the resolution
of a default configuration chosen by Gradle.
|
void fromResolutionResult()
void fromResolutionOf(Configuration configuration)
configuration
- a resolvable configuration where to pick resolved version numbersvoid fromResolutionOf(String configurationName)
configurationName
- a resolvable configuration name where to pick resolved version numbers