Interface ProjectComponentIdentifier
- All Superinterfaces:
- ComponentIdentifier
An identifier for a component instance that is built as part of the current build.
- Since:
- 1.10
- 
Method SummaryModifier and TypeMethodDescriptiongetBuild()Identifies the build that contains the project that produces this component.Returns a path to the project for the full build tree.Returns the simple name of the project that produces this component.Returns the path of the project that produces this component.Methods inherited from interface org.gradle.api.artifacts.component.ComponentIdentifiergetDisplayName
- 
Method Details- 
getBuildBuildIdentifier getBuild()Identifies the build that contains the project that produces this component.- Returns:
- The build identifier
 
- 
getProjectPathString getProjectPath()Returns the path of the project that produces this component. This path is relative to the containing build, so for example will return ':' for the root project of a build.- Since:
- 1.10
 
- 
getBuildTreePathReturns a path to the project for the full build tree.- Returns:
- The build tree path
- Since:
- 8.3
 
- 
getProjectNameString getProjectName()Returns the simple name of the project that produces this component.- Since:
- 4.5
 
 
-