I have a multi module Gradle project. I want it to compile and do all other tasks as normal. But for unit tests, I want it to run all of them, instead of stopping as soon as one test in an early project fails.
I've tried adding
buildscript {
gradle.startParameter.continueOnFailure = true
}
which works for the tests, but also makes compile continue if something fails. That's not OK.
Can I configure Gradle to continue, only for test tasks?