Description
openedon Apr 24, 2017
I have a large, multi-project gradle build with the follow scenarios:
project1: Has protos to generate, but no dependencies that include protobuf files
project2: Has protos to generate, and a dependency on project1/external dependency that includes protos, but project proto's don't include any in project1 (no external protos)
project3: Has protos to generate, and a dependency on project1/external dependency, and project protos do include files from project1 (external protos).
Our project includes all three of these scenarios in some variation or another. The sum of the extractIncluded proto tasks takes some 15%-20% of our build time. Because the files are not in a single dependency, we can't use the Gradle task cache the results of the extractIncluded tasks.
We are using Gradle 3.5, with the task cache, parallel and parallel.intra enabled.