My gradle build scripts by default have org.parallel=true defined in the gradle.properties file. This makes the builds execute faster in parallel mode. However there are a few tasks which don't work properly if run in parallel mode. I've typically handled this by adding -Dorg.gradle.properties=false on the command line when invoking those specific tasks. This always works just fine.
However I'm having a problem with my run configurations not passing this parameter to gradlew when launching my task from Intellij/AS. If I add -D.org.gradle.parallel=false as a script parameter for a Gradle run config the script param is ignored, and gradlew launches in parallel mode, the banner message comes up that says Parallel Execution is a feature still in incubation.
Any idea what is wrong or how to get Intellij/AS to pass this parameter to gradlew?
Thanks, Derek