Sha256: cde3c304d1e83d1c512a461e95adc1a333d1cde6c54b5c1d45fddace5d981683
Contents?: true
Size: 864 Bytes
Versions: 2
Compression:
Stored size: 864 Bytes
Contents
require 'pathname' module Ruboto module SdkVersions VERSION_TO_API_LEVEL = { '2.3.3' => 10, '2.3.4' => 10, '2.3.5' => 10, '2.3.6' => 10, '2.3.7' => 10, '3.0' => 11, '3.1' => 12, '3.2' => 13, '4.0.1' => 14, '4.0.3' => 15, '4.0.4' => 15, '4.1' => 16, '4.1.1' => 16, '4.1.2' => 16, '4.2' => 17, '4.2.2' => 17, '4.3' => 18, '4.3.1' => 18, '4.4.2' => 19, '5.0.1' => 21, '5.1' => 22 } API_LEVEL_TO_VERSION = { 10 => '2.3.3', 11 => '3.0', 12 => '3.1', 13 => '3.2', 14 => '4.0', 15 => '4.0.3', 16 => '4.1.2', 17 => '4.2.2', 18 => '4.3.1', 19 => '4.4.2', 21 => '5.0.1', 22 => '5.1' } MINIMUM_SUPPORTED_SDK_LEVEL = 15 MINIMUM_SUPPORTED_SDK = "android-#{MINIMUM_SUPPORTED_SDK_LEVEL}" DEFAULT_TARGET_SDK_LEVEL = 16 DEFAULT_TARGET_SDK = "android-#{DEFAULT_TARGET_SDK_LEVEL}" end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
ruboto-1.3.1 | lib/ruboto/sdk_versions.rb |
ruboto-1.3.0 | lib/ruboto/sdk_versions.rb |