ComponentSpec, ModelElement, NamedApplicationBinarySpec, BinarySpec, CUnitTestSuiteBinarySpec, GoogleTestTestSuiteBinarySpec, LibraryBinarySpec, NativeBinarySpec, NativeExecutableBinarySpec, NativeLibraryBinarySpec, NativeTestSuiteBinarySpec, SharedLibraryBinarySpec, StaticLibraryBinarySpec, TestSuiteBinarySpecorg.gradle.api.internal.AbstractBuildableComponentSpec, org.gradle.language.base.internal.AbstractLanguageSourceSet, BaseBinarySpec, BaseLanguageSourceSet@Incubating public interface CheckableComponentSpec extends ComponentSpec
ComponentSpec that is directly checkable via a specified task.Named.Namer| Modifier and Type | Method | Description |
|---|---|---|
void |
checkedBy(Object... tasks) |
Adds tasks required to check this component.
|
Task |
getCheckTask() |
Returns the task responsible for checking this component.
|
void |
setCheckTask(Task checkTask) |
Specifies the task responsible for checking this component.
|
getProjectPathgetDisplayName, getName@Nullable Task getCheckTask()
void setCheckTask(@Nullable Task checkTask)
void checkedBy(Object... tasks)
check task.