b2jrock / puppet-android

Android Puppet Module for Boxen

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Android Puppet Module for Boxen

Build Status

Usage

The sdk is available:

include android::sdk

The ndk is also available:

include android::ndk

The 3, 4, 7, 8, 10, 11, 12, 13, 14, 15, 16 and 17 version is also available:

include android::17

ensure a version is installed for a certain android version

# install 17 version for default(platform, add_on)
android::version { '17': }

# install 17 version for all
android::version { '17':
  options => ['platform', 'add_on', 'system_image', 'sample'] 
}

ensure a platform is installed for a certain android version

android::platform { 'android-17': }

ensure a system_image is installed for a certain android version

android::system_image { 'sysimg-17': }

ensure a add_on is installed for a certain android version

android::add_on { 'addon-google_apis-google-17': }

ensure a sample is installed for a certain android version

android::sample { 'sample-17': }

ensure a platform-tools is installed

include android::platform_tools

ensure a extra is installed for a certain android version

android::extra { 'extra-google-google_play_services': }

ensure a doc is installed

include android::doc

ensure a 'studio' is installed

include android::studio

Required Puppet Modules

  • boxen
  • homebrew
  • stdlib
  • java

Environment

Once installed, you can access the following variables in your environment, projects, etc:

  • ANDROID_HOME: android home directory
  • ANDROID_SDK_ROOT: android sdk directory

Development

Write code. Run script/cibuild to test it. Check the script directory for other useful tools.

About

Android Puppet Module for Boxen

License:MIT License


Languages

Language:Ruby 68.4%Language:Puppet 30.0%Language:Shell 1.6%