New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Gradle parallel build support #1001
Labels
Comments
Thanks! We'll keep it open as an enhancement request. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
When building project with multiple sub-projects, gradle parallel builds are key to improving CI speed.
In this case, gradle will try to build all sub-projects at the same time.
If there are multiple sub-projects to deploy (multiple services), these sub-projects will all have the task downloadCloudSdk.
This is a file download task, if gradle start downloading at the same time, the task will fail.
fail message:
There are several workaround, but none of them are perfect:
For tasks that require requests to external resources, such as the file system, gradle provides an API to avoid execute multi time: https://docs.gradle.org/current/userguide/build_services.html
I don't know much about gradle plugins, can you please see if you can use build service to solve this problem.
The text was updated successfully, but these errors were encountered: