Quantcast
Channel: JetBrains Developer Community : Thread List - IntelliJ IDEA Users
Viewing all articles
Browse latest Browse all 5661

Gradle Script parameters not being passed along

$
0
0

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


Viewing all articles
Browse latest Browse all 5661

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>