Git Product home page Git Product logo

ansible-role-android-sdk's Introduction

Ansible Role: Android SDK

Build Status

An Ansible Role that installs the Android SDK tools, SDK packages and dependencies on Ubuntu and RedHat based OS'.

Requirements

A recent version of Ubuntu.

Role Variables

Available variables are listed below, along with default values (see defaults/main.yml):

android_sdk_download_location: http://dl.google.com/android/android-sdk_r23.0.2-linux.tgz

The location to the Android SDK tools package to be installed.

android_sdk_install_location: /opt

The location on disk where you'd like to SDK to be installed.

ubuntu_dependency_packages:
  - "libncurses5"
  - "libstdc++6"
  - "zlib1g"
  - "imagemagick"
  - "expect"
  - "gradle"
  - "ant"
  - "ccache"
  - "autoconf"
  - "automake"
  - "ant"
  - "ccache"
  - "python-dev"
  - "zlibc"

A list of aptitude installable build dependency packages.

ubuntu_precise_dependency_packages:
  - "libgd2-xpm"
  - "libgphoto2-2"
  - "libsane"
  - "ia32-libs-multiarch"

A list of aptitude installable build dependencies for Ubuntu Precise.

rh_dependency_packages:
  - expect
  - libstdc++.i686
  - mesa-libGL-devel
  - ncurses-libs.i686
  - zlib.i686

A list of yum installable build dependencies for RedHat based OS.

android_sdk_update_path: true

Whether or not the role should update the PATH in /etc/environment with the relevant android SDK locations

android_sdk_base_buildtools_version: 20.0.0

The main build tools version from the SDK to use, mainly useful for PATH updates.

android_sdk_tools_to_install:
  - build-tools-20.0.0
  - build-tools-19.1.0
  - platform-tools
  - tools
  - extra-android-support
  - extra-google-m2repository
  - extra-android-m2repository
android_sdks_to_install:
  - android-21
  - android-20
  - android-19
  - android-18
  - android-17
  - android-16

The actual Android SDK packages to install using the SDK manager.

Example Playbook

- hosts: appbuild
  vars_files:
    - vars/main.yml
  roles:
    - { role: nickpack.android-sdk }

License

BSD

Author Information

This role was created in 2015 by Nick Pack.

Contributors

  • @rodrigdav - Fixed bare variables that broke 2.2 compatibility
  • @halkeye - Seperated SDK tools, fixed 64bit environment
  • @edunham - Fixed 32bit support
  • @peterjanes - Added RedHat family support
  • @conorsch - Changed conditionals to allow > 14.04 support

ansible-role-android-sdk's People

Contributors

conorsch avatar jsteinich avatar nickpack avatar

Watchers

 avatar  avatar

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.