icon

Restore Gradle configuration cache

Restores the Gradle configuration cache folder used by Gradle. Uses the Bitrise Build Cache infrastructure.

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.

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.

Similar steps

Restores Gradle caches. This Step needs to be used in combination with Save Gradle Cache.

Caches the Gradle configuration cache folder used by Gradle. Uses the Bitrise Build Cache infrastructure.

Activates Bitrise Remote Build Cache add-on for subsequent Gradle builds in the workflow

Restores build cache using a cache keys. This Step needs to be used in combination with Multikey Save Cache or Save Cache.