VersionRef (Gradle API 4.4)
Date: 2017-12-06

org.gradle.vcs

## Interface VersionRef

-     @Incubating
      public interface VersionRef

  Represents how a version of a software component is referred to in a version control system.
  Since:
    4.4

- - ### Method Summary

    Methods
    Modifier and Type | Method and Description
    --- | ---
    `String` | `getCanonicalId()` Returns a canonical representation of this version of the software component, which may be different from the human-readable version.
    `String` | `getVersion()` Returns a human-readable version of the software component.

- - ### Method Detail

    - #### getVersion

          String getVersion()

      Returns a human-readable version of the software component.

    - #### getCanonicalId

          String getCanonicalId()

      Returns a canonical representation of this version of the software component, which may be different from the human-readable version.