No commit activity in last 3 years
No release in over 3 years
Itamae plugin for Android SDK.
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Development

~> 10.0
~> 3.0

Runtime

~> 1.7
 Project Readme

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 😭

License

MIT License.