Skip to content

bitrise-steplib/bitrise-step-activate-gradle-remote-cache

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

36 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Activate Bitrise Build Cache Add-On for Gradle

Step changelog

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.

You can also run this step directly with Bitrise CLI.

⚙️ 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. 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 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: