-
Notifications
You must be signed in to change notification settings - Fork 0
/
step.yml
52 lines (43 loc) · 2.09 KB
/
step.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
title: Restore Gradle configuration cache
summary: Restores the Gradle configuration cache folder used by Gradle. Uses the Bitrise Build Cache infrastructure.
description: |
This step restores the Gradle configuration cache folder from the Bitrise Build Cache to speed up future builds.
For more information on how configuration caching works, refer to the [Gradle user guide](https://docs.gradle.org/current/userguide/configuration_cache.html).
**IMPORTANT NOTES:**
- You must have an active Bitrise Build Cache Trial or Subscription for your workspace to use this step.
- You also need to set up the encryption key `GRADLE_ENCRYPTION_KEY` in Bitrise Secrets by using the result from running `openssl rand -base64 16`.
- Setting the encryption key is supported only from Gradle version 8.6 onwards, so your project must be using Gradle 8.6 or higher.
website: https://github.com/bitrise-steplib/bitrise-step-restore-gradle-configuration-cache
source_code_url: https://github.com/bitrise-steplib/bitrise-step-restore-gradle-configuration-cache
support_url: https://github.com/bitrise-steplib/bitrise-step-restore-gradle-configuration-cache
project_type_tags:
- android
- react-native
- flutter
type_tags:
- utility
run_if: .IsCI
is_skippable: true
toolkit:
bash:
entry_file: step.sh
deps:
brew:
- name: zstd
inputs:
- key_override:
opts:
title: Cache key override
summary: Override key used for restoring from the cache. By default the app slug and branch is used
description: |-
Custom override key used to restore the cache from a previously saved entry (by the `Save Gradle configuration cache` step).
If not specified, by default a key is generated from the app slug and the current branch. If not specified, the contents can also be restored from a fallback key consisting only of the app slug. This helps reduce cache misses on new feature branches.
is_required: false
- verbose: "false"
opts:
title: Verbose logging
summary: Enable logging additional information for troubleshooting
is_required: true
value_options:
- "true"
- "false"