Activates Bitrise Remote Build Cache add-on for subsequent Gradle builds in the workflow
Description
This Step activates Bitrise's remote build cache add-on for subsequent Gradle executions in the workflow.
After this Step executes, Gradle builds will automatically read from the remote cache and push new entries if it's enabled.
Add this step directly to your workflow in the Bitrise Workflow Editor.
You can also run this step directly with Bitrise CLI.
Inputs
Key | Description | Flags | Default |
---|---|---|---|
push |
Whether the build can not only read, but write new entries to the remote cache | required | true |
validation_level |
Level of cache entry validation for both uploads and downloads. Levels: - none : no validation. - warning : print a warning about invalid cache entries, but don't interrupt the build - error : print an error about invalid cache entries and interrupt the build |
required | warning |
collect_metrics |
When enabled, this sets up Gradle build metrics collection for the subsequent Gradle invocations in the workflow. Metrics are sent to Bitrise Insights. | required | true |
verbose |
Enable logging additional information for troubleshooting | required | false |
Outputs
There are no outputs defined in this stepWe welcome pull requests and issues against this repository.
For pull requests, work on your changes in a forked repository and use the Bitrise CLI to run step tests locally.
Learn more about developing steps: