Parallel build doesn't stop if one task fails


(Mike) #1

I’m running a large multi-project build with --parallel enabled. When one of the tasks fails, the build keeps going anyway. Gradle is aware of the failure because the status bar in the console turns red.

Is there a way to force Gradle to fail fast in this case?

I’m using Gradle 4.8, which is the latest version at the time of this posting.