ComponentSpec
, ModelElement
, Named
ApplicationBinarySpec
, BinarySpec
, ClassDirectoryBinarySpec
, CUnitTestSuiteBinarySpec
, GoogleTestTestSuiteBinarySpec
, JarBinarySpec
, JUnitTestSuiteBinarySpec
, JvmBinarySpec
, JvmTestSuiteBinarySpec
, LibraryBinarySpec
, NativeBinarySpec
, NativeExecutableBinarySpec
, NativeLibraryBinarySpec
, NativeTestSuiteBinarySpec
, PlayApplicationBinarySpec
, SharedLibraryBinarySpec
, StaticLibraryBinarySpec
, TestSuiteBinarySpec
org.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.
|
getProjectPath
getDisplayName, getName
@Nullable Task getCheckTask()
void setCheckTask(@Nullable Task checkTask)
void checkedBy(Object... tasks)
check task
.