Package org.gradle.api.tasks
Schnittstelle VerificationTask
- Alle bekannten Implementierungsklassen:
AbstractCodeQualityTask,AbstractTestTask,Checkstyle,CodeNarc,Pmd,RunTestExecutable,Test,XCTest
public interface VerificationTask
A
VerificationTask is a task which performs some verification of the artifacts produced by a build.-
Methodenübersicht
Modifizierer und TypMethodeBeschreibungbooleanSpecifies whether the build should break when the verifications performed by this task fail.voidsetIgnoreFailures(boolean ignoreFailures) Specifies whether the build should break when the verifications performed by this task fail.
-
Methodendetails
-
setIgnoreFailures
void setIgnoreFailures(boolean ignoreFailures) Specifies whether the build should break when the verifications performed by this task fail.- Parameter:
ignoreFailures- false to break the build on failure, true to ignore the failures. The default is false.
-
getIgnoreFailures
Specifies whether the build should break when the verifications performed by this task fail.- Gibt zurück:
- false, when the build should break on failure, true when the failures should be ignored.
-