org.gradle.api.tasks
Interface VerificationTask

All Known Implementing Classes:
Checkstyle, CodeNarc, Test

public interface VerificationTask

A VerificationTask is a task which performs some verification of the artifacts produced by a build.


Method Summary
 boolean isIgnoreFailures()
          Returns whether the build should break when the verifications performed by this task fail.
 VerificationTask setIgnoreFailures(boolean ignoreFailures)
          Specify whether the build should break when the verifications performed by this task fail.
 

Method Detail

setIgnoreFailures

VerificationTask setIgnoreFailures(boolean ignoreFailures)
Specify whether the build should break when the verifications performed by this task fail.

Parameters:
ignoreFailures - false to break the build on failure, true to ignore the failures. The default is false.
Returns:
this

isIgnoreFailures

boolean isIgnoreFailures()
Returns whether the build should break when the verifications performed by this task fail.

Returns:
false, when the build should break on failure, true when the failures should be ignored.