Package org.gradle.api
Interface CheckableComponentSpec
-
- All Superinterfaces:
ComponentSpec,ModelElement,Named
- All Known Subinterfaces:
ApplicationBinarySpec,BinarySpec,CUnitTestSuiteBinarySpec,GoogleTestTestSuiteBinarySpec,LibraryBinarySpec,NativeBinarySpec,NativeExecutableBinarySpec,NativeLibraryBinarySpec,NativeTestSuiteBinarySpec,SharedLibraryBinarySpec,StaticLibraryBinarySpec,TestSuiteBinarySpec
- All Known Implementing Classes:
org.gradle.api.internal.AbstractBuildableComponentSpec,org.gradle.language.base.internal.AbstractLanguageSourceSet,BaseBinarySpec,BaseLanguageSourceSet
@Incubating public interface CheckableComponentSpec extends ComponentSpec
AComponentSpecthat is directly checkable via a specified task.
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface org.gradle.api.Named
Named.Namer
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidcheckedBy(java.lang.Object... tasks)Adds tasks required to check this component.TaskgetCheckTask()Returns the task responsible for checking this component.voidsetCheckTask(Task checkTask)Specifies the task responsible for checking this component.-
Methods inherited from interface org.gradle.platform.base.ComponentSpec
getProjectPath
-
Methods inherited from interface org.gradle.model.ModelElement
getDisplayName, getName
-
-
-
-
Method Detail
-
getCheckTask
@Nullable Task getCheckTask()
Returns the task responsible for checking this component.
-
setCheckTask
void setCheckTask(@Nullable Task checkTask)Specifies the task responsible for checking this component.
-
checkedBy
void checkedBy(java.lang.Object... tasks)
Adds tasks required to check this component. Tasks added this way are subsequently added as dependencies of this component'scheck task.
-
-