Giter VIP home page Giter VIP logo

puppet-android's Introduction

Puppet Module for Android SDK

Build Status

This Puppet module is used to install the Android SDK and NDK, along with platforms and other add-ons. You may need to install Java separately.

Supported platforms:

  • Linux (RedHat, Debian families)
  • Mac OS X

Examples

To install the Android SDK in the default location (/usr/local/android on both Linux and Mac OS X) you simply include the android class like so.

class { 'java': } ->
class { 'android': }

You can also change the default parameters like so:

  class { 'android':
    user       => 'someuser',
    group      => 'somegroup',
    installdir => '/path/to/your/dir',
  }

You can install the Android NDK like so:

class { 'android::ndk' :
  ndk_version => 'android-ndk-r10c-linux-x86_64.bin'
}

Note that the NDK is downloaded and executed, so only newer NDK versions are supported. The older tar archives will not work properly.

To install an android platform, do it like so:

  android::platform { 'android-16': }

You can also install add-ons:

  android::addon { 'addon-google_apis-google-16': }

Or extra's:

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

To install Android SDK Build-tools, revision 19.0.1

  android::build_tools { 'build-tools-19.0.1': }

Tip: to get the appropriate name of the add-ons/extras run the following command:

/usr/local/android/android-sdk-macosx/tools/android list sdk -u --all --extended|grep " or "

License

  Copyright 2012-2014 MaestroDev

  Licensed under the Apache License, Version 2.0 (the "License");
  you may not use this file except in compliance with the License.
  You may obtain a copy of the License at

      http://www.apache.org/licenses/LICENSE-2.0

  Unless required by applicable law or agreed to in writing, software
  distributed under the License is distributed on an "AS IS" BASIS,
  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  See the License for the specific language governing permissions and
  limitations under the License.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.