Multi-project configuration for parallel builds

I’m looking at migrating from ant to Gradle because we want to speed up builds by running projects in parallel and to simplify configuration, however it seems to me that these goals are mutually exclusive for Gradle builds. Hopefully I’m missing something.

So I’d like a nice example of a multi-project Gradle setup compiling 3 java projects such that A and B can be compiled in parallel and C depends on both. Also such that some properties can be configured (dynamically) and used in all three projects, perhaps configured in an additional root project.

Also posted here:

In general you should be able to get a parallel executed build for a project with three subprojects as you have described. I pushed a sample skeleton project setup at

hope that helps,

cheers, René