Setting up your Gradle project for caching is easy. First, you need to setup your API key and Buildless account; once that's done, you can either install the plug-in or configure Gradle manually. Both routes are supported.
- Setup your account, and obtain your API key (see below)
- Setup your API key in your environment, at the variable
First, you'll need an account with Buildless. Sign up here if you haven't already. Once you've created your account, you will need to obtain your API key so you can authorize your local environment.
Depending on the type of account you've created, you can find your API key as follows:
- For your user-level API key, check the email that you got when creating your account
- For your org-level API key (if you have an org tenant), check the Console, under Tenant > Settings > Integration
With your API key in hand, you can authorize the Gradle client in several different ways. The easiest way is to set the
BUILDLESS_APIKEY environment variable in your shell:
echo "BUILDLESS_APIKEY=<>" >> ~/.profile
Then, make sure
~/.profile is included in your
Updated 5 months ago