docs.gradle.org

Interface ComponentResult

All Known Subinterfaces:
ComponentArtifactsResult, ResolvedComponentResult, UnresolvedComponentResult

public interface ComponentResult

The result of resolving a component.

Since:
2.0
  • Method Summary

    Modifier and Type

    Method

    Description

    getId()

    Returns the identifier of this component.

  • Method Details

    • getId

      Returns the identifier of this component. This can be used to uniquely identify the component within the current build, but it is not necessarily unique between different builds.

      The return type is declared as an opaque ComponentIdentifier, however the identifier may also implement one of the following interfaces:

      Returns:
      the identifier of this component

Read the original on docs.gradle.org ↗