Itamae::Plugin::Recipe::AndroidSdk

Require JDK.

Gem Version

Installation

Add this line to your application's Gemfile:

gem 'itamae-plugin-recipe-android_sdk'

And then execute:

$ bundle

Or install it yourself as:

$ gem install itamae-plugin-recipe-android_sdk

Usage

android_sdk::install

Install Android SDK.

  • recipe
include_recipe 'android_sdk::install'
  • node.json
{
  "sdk": {
    "version" : "r24.4.1",
    "install_path" : "/hoge"
  }
}

Default install path /usr/local, if not set 'install_path'

android sdk update with filter

Update Android SDK at like node.json following:

{
  "sdk": {
    ...
    "update_list" : [
      "build-tools-23.0.3",
      "android-22"
    ]
  }
}

e.g.

$ itamae ssh --vagrant --node-json node.json android_sdk.rb

android sdk update latest

Install Android SDK and update without filter.

  • recipe
include_recipe 'android_sdk::latest'

It is the same with the following command:

$ android update sdk -u

※ Caution
It takes long time :sob:

License

MIT License.