https://github.com/bitrise-steplib/bitrise-step-activate-gradle-remote-cache
https://github.com/bitrise-steplib/bitrise-step-activate-gradle-remote-cache
bitrise bitrise-step ci production-code
Last synced: 2 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/bitrise-steplib/bitrise-step-activate-gradle-remote-cache
- Owner: bitrise-steplib
- Created: 2022-11-02T13:12:35.000Z (almost 3 years ago)
- Default Branch: main
- Last Pushed: 2025-04-04T08:25:14.000Z (6 months ago)
- Last Synced: 2025-04-04T09:28:43.149Z (6 months ago)
- Topics: bitrise, bitrise-step, ci, production-code
- Language: Shell
- Homepage:
- Size: 752 KB
- Stars: 2
- Watchers: 6
- Forks: 4
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Activate Bitrise Build Cache Add-On for Gradle
[](https://github.com/bitrise-steplib/bitrise-step-activate-gradle-remote-cache/releases)
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.
## 🧩 Get started
Add this step directly to your workflow in the [Bitrise Workflow Editor](https://devcenter.bitrise.io/steps-and-workflows/steps-and-workflows-index/).
You can also run this step directly with [Bitrise CLI](https://github.com/bitrise-io/bitrise).
## ⚙️ Configuration
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](https://app.bitrise.io/insights). | required | `false` |
| `verbose` | Enable logging additional information for troubleshooting | required | `false` |Outputs
There are no outputs defined in this step## 🙋 Contributing
We welcome [pull requests](https://github.com/bitrise-steplib/bitrise-step-activate-gradle-remote-cache/pulls) and [issues](https://github.com/bitrise-steplib/bitrise-step-activate-gradle-remote-cache/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](https://devcenter.bitrise.io/bitrise-cli/run-your-first-build/).
Learn more about developing steps:
- [Create your own step](https://devcenter.bitrise.io/contributors/create-your-own-step/)
- [Testing your Step](https://devcenter.bitrise.io/contributors/testing-and-versioning-your-steps/)