VariantVersionMappingStrategy (Gradle API 5.5-20190702033235+0000)
Date: 2019-07-01

Package org.gradle.api.publish

## Interface VariantVersionMappingStrategy

-     @Incubating
      public interface VariantVersionMappingStrategy

  Defines the version mapping strategy when publishing, for a specific variant.
  Since:
    5.2

- - ### Method Summary

    All Methods Instance Methods Abstract Methods
    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.

- - ### Method Detail

    - #### fromResolutionResult

          void fromResolutionResult()

      Declares that this variant should use versions from the resolution of a default configuration chosen by Gradle.

    - #### fromResolutionOf

          void fromResolutionOf​(Configuration configuration)

      Declares that this variant should use versions from the resolution of the configuration provided as an argument.
      Parameters:
        `configuration` - a resolvable configuration where to pick resolved version numbers

    - #### fromResolutionOf

          void fromResolutionOf​(String configurationName)

      Declares that this variant should use versions from the resolution of the configuration provided as an argument.
      Parameters:
        `configurationName` - a resolvable configuration name where to pick resolved version numbers