Interface ProjectComponentSelector
-
- All Superinterfaces:
ComponentSelector
public interface ProjectComponentSelector extends ComponentSelector
Criteria for selecting a component instance that is built as part of the current build.- Since:
- 1.10
-
-
Method Summary
All Methods Instance Methods Abstract Methods Deprecated Methods Modifier and Type Method Description java.lang.StringgetBuildName()Deprecated.UsegetBuildPath()instead.java.lang.StringgetBuildPath()Absolute build path of the build within the Gradle invocation to select a project from.java.lang.StringgetProjectPath()The path of the project to select the component from.-
Methods inherited from interface org.gradle.api.artifacts.component.ComponentSelector
getAttributes, getDisplayName, getRequestedCapabilities, matchesStrictly
-
-
-
-
Method Detail
-
getBuildPath
java.lang.String getBuildPath()
Absolute build path of the build within the Gradle invocation to select a project from.- Since:
- 8.2
-
getBuildName
@Deprecated java.lang.String getBuildName()
Deprecated.UsegetBuildPath()instead.The name of the build to select a project from.- Returns:
- The build name
-
getProjectPath
java.lang.String getProjectPath()
The path of the project to select the component from.- Returns:
- Project path
- Since:
- 1.10
-
-