My build.gradlefile is as follows:
apply plugin: "java"
...
test {
...
ignoreFailures = "$ignoreFailureProp"
}
and a gradle.propertieswith
ignoreFailureProp=false
Upon execution, gradle clean buildunit test failures do not mark the assembly as unsuccessful.
I know that the default behavior is to fail the assembly, but I want to explicitly set it through the property in order to change it without changing the assembly file
source
share