Managing the SDK for your project

Cloud Code requires the Cloud SDK to deploy applications to App Engine. This page describes how to configure the plugin to automatically manage the SDK or to allow you to manage the SDK yourself.

To view the current Cloud SDK configuration:

  1. Select File > Settings or for Mac OS X, IntelliJ IDEA > Preferences.

  2. Within the Preferences dialog, select Tools > Cloud Code > Dependencies and configure the Cloud SDK section.

Auto-managed SDK

If you don't have an SDK configured, then the plugin automatically downloads the latest version of the SDK. It can also periodically check for and install updates.

The plugin checks for the SDK at the following events:

  • when you install the plugin

  • when you start IntelliJ

  • when you deploy your App Engine application

  • when you start the App Engine standard local server

When you select the Allow the plugin to manage and install the Cloud SDK option, then Cloud Code manages the SDK.

The Preferences dialog with Cloud Code and its underlying Dependencies
     section selected. The main area shows the version number of the SDK. The
     dialog also shows a field for browsing to a custom SDK, with an
     unselected radio button for choosing an SDK.

You can also select the Automatically update the SDK checkbox to allow the plugin to update the SDK. If your Cloud SDK is out of date, the Update now button is enabled, so that you can update your SDK immediately.

Self-managed SDK

If you previously configured Cloud Code with the Cloud SDK, then it continues to use that SDK.

To continue to manage the Cloud SDK yourself:

  1. On the Cloud SDK page, select the Use a custom local installation option.

  2. Click the Browse folder icon next to the field and navigate to the Cloud SDK you want to use.

  3. Click OK.

    The Setting dialog with Cloud Code and its
underlying section, Dependencies, selected. The main area shows radio
buttons to allow the plugin to manage the SDK or to use a custom
installation. The dialog also shows a field for
browsing to a custom SDK with a Browse folder icon.

    IntelliJ uses the specified SDK. If you want to update your Cloud SDK, you should first download the desired SDK and then select the path to it on this dialog.

Getting support

To send feedback, report an issue on GitHub or ask a question on Stack Overflow.