bitrise.io

Caching Gradle

Before you start, make sure you have the latest version of the Android Build Step in your workflow.

  1. Open your app’s Workflow Editor.
  2. Insert the Cache:Pull Step after the Git Clone but before the Android Build Steps.

    IMPORTANT: Make sure that your step is version 1.0.0 or newer. With the older versions, you have to manually specify paths for caching.

  3. Insert the Cache:Push Step to the very end of your Workflow.

And you’re done!