Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
CORDA-1509 Configure and enable Gradle Build Cache #3908
Gradle configuration changes to support using Gradle Build Cache in a CI environment.
Usage of Gradle Build cache in Azure requires a patched version of Gradle to include TCP Keep-Alive, as per description and resolution described in gradle/gradle#6018.
These changes only take effect when the CI environment is correctly configured. Specifically the Build Configuration must define the following environment variable:
and the build steps must include the following additional gradle command line parameters:
@chrisr3 response from Gradle forum:
The warning we're going to have trouble working around is:
Because it's coming from the Capsule plugin, which seems to be unmaintained.
LGTM - simple, modular. Shame about the lack of a backport to gradle 4.10.x.