Caching Gradle
Before you start, make sure you have the latest version of the Android Build Step in your workflow.
-
Open your app on Bitrise.
-
Go to the Workflow tab.
-
Select a Workflow from the
dropdown menu. -
Insert the Cache:Pull Step after the Git Clone but before the Android Build Steps.
Step version of the Cache:Pull Step
Make sure that your step is version 1.0.0 or newer. With the older versions, you have to manually specify paths for caching.
-
Insert the Cache:Push Step to the very end of your Workflow.
And you’re done!