<commit_before>include_attribute 'travis_build_environment'

default['android-sdk']['name']           = 'android-sdk'
default['android-sdk']['owner']          = node['travis_build_environment']['user']
default['android-sdk']['group']          = node['travis_build_environment']['group']
default['android-sdk']['setup_root']     = nil  # ark defaults (/usr/local) is used if this attribute is not defined

default['android-sdk']['version']        = '23.0.2'
default['android-sdk']['checksum']       = '2eaab06852ac21b6c79df73c07a667c5da5be57f7ffcbd4f17aef7efeea22ac1'
default['android-sdk']['download_url']   = "http://dl.google.com/android/android-sdk_r#{node['android-sdk']['version']}-linux.tgz"

#
# List of Android SDK components to preinstall:
#
# Hint:
# Add 'tools' to the list below if you wish to get the latest version,
# without having to adapt 'version' and 'checksum' attributes of this cookbook.
# Note that it will require (waste) some extra download effort.
#
# [<NAME> - 24.11.2014] - Apply this workaround to install SDK Tools 23.0.5, 
#                               which is still not published on https://dl.google.com/android
#
# build-tools needs to be maintained. Theoretically, there's a meta-taget
# for it.
#
default['android-sdk']['components']     = %w(platform-tools
                                              tools
                                              build-tools-21.1.1
                                              android-21
                                              sys-img-armeabi-v7a-android-21
                                              android-20
                                              sys-img-armeabi-v7a-android-wear-20
                                              android-19
                                              sys-img-armeabi-v7a-android-19
                                              android-18
                                              sys-img-armeabi-v7a-android-18
                                              android-17
                                              sys-img-armeabi-v7a-android-17
                                              android-16
                                              sys-img-armeabi-v7a-android-16
                                              android-15
                                              sys-img-armeabi-v7a-android-15
                                              android-10
                                              extra-android-support
                                              extra-google-google_play_services
                                              extra-google-m2repository
                                              extra-android-m2repository)

default['android-sdk']['license']['white_list']     = %w(.+)
default['android-sdk']['license']['black_list']     = []    # e.g. ['intel-.+', 'mips-.+', 'android-wear-sdk-license-.+']
default['android-sdk']['license']['default_answer'] = 'n'   # 'y' or 'n' ('yes' or 'no')

default['android-sdk']['scripts']['path']           = '/usr/local/bin'
default['android-sdk']['scripts']['owner']          = node['android-sdk']['owner']
default['android-sdk']['scripts']['group']          = node['android-sdk']['group']

default['android-sdk']['maven-rescue']              = false
<commit_msg>Update SDK tools to version 24.0.0<commit_after>include_attribute 'travis_build_environment'

default['android-sdk']['name']           = 'android-sdk'
default['android-sdk']['owner']          = node['travis_build_environment']['user']
default['android-sdk']['group']          = node['travis_build_environment']['group']
default['android-sdk']['setup_root']     = nil  # ark defaults (/usr/local) is used if this attribute is not defined

default['android-sdk']['version']        = '24'
default['android-sdk']['checksum']       = 'f7b8ba4b43bd13b9f77f687bf388d6e04b811b3b722e67d2af0763a603ee3a03'
default['android-sdk']['download_url']   = "http://dl.google.com/android/android-sdk_r#{node['android-sdk']['version']}-linux.tgz"

#
# List of Android SDK components to preinstall:
#
# Hint:
# Add 'tools' to the list below if you wish to get the latest version,
# without having to adapt 'version' and 'checksum' attributes of this cookbook.
# Note that it will require (waste) some extra download effort.
#
# build-tools needs to be maintained. Theoretically, there's a meta-taget
# for it.
#
default['android-sdk']['components']     = %w(platform-tools
                                              build-tools-21.1.1
                                              android-21
                                              sys-img-armeabi-v7a-android-21
                                              android-20
                                              sys-img-armeabi-v7a-android-wear-20
                                              android-19
                                              sys-img-armeabi-v7a-android-19
                                              android-18
                                              sys-img-armeabi-v7a-android-18
                                              android-17
                                              sys-img-armeabi-v7a-android-17
                                              android-16
                                              sys-img-armeabi-v7a-android-16
                                              android-15
                                              sys-img-armeabi-v7a-android-15
                                              android-10
                                              extra-android-support
                                              extra-google-google_play_services
                                              extra-google-m2repository
                                              extra-android-m2repository)

default['android-sdk']['license']['white_list']     = %w(.+)
default['android-sdk']['license']['black_list']     = []    # e.g. ['intel-.+', 'mips-.+', 'android-wear-sdk-license-.+']
default['android-sdk']['license']['default_answer'] = 'n'   # 'y' or 'n' ('yes' or 'no')

default['android-sdk']['scripts']['path']           = '/usr/local/bin'
default['android-sdk']['scripts']['owner']          = node['android-sdk']['owner']
default['android-sdk']['scripts']['group']          = node['android-sdk']['group']

default['android-sdk']['maven-rescue']              = false

{'fraction_non_alphanumeric': 0.12611764705882353, 'fraction_numerical': 0.02776470588235294, 'mean_word_length': 1.3484346224677717, 'pattern_counts': {'":': 0, '<': 4, '<?xml version=': 0, '>': 4, 'https://': 1, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 86, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '818411', 'n_tokens_mistral': 1583, 'n_tokens_neox': 1499, 'n_words': 275}