Running parallel builds with GradleRunner possible?


Is it possible to run a test build with GradleRunner, with parallel builds enabled? I tried .withArguments(['--parallel']), as well as writing org.gradle.parallel=true into the of the test project, but none of them seemed to work. I couldn’t really verify this as I was unable to query this flag in the test build script. Is this a limitation and if yes, documented somewhere?

Thanks in advance.

The .withArguments(['--parallel']) way worked just fine in an other case, so I’m going to check why I couldn’t get the desired results.