Update android build tools to 27.0.3 (#18952)

* Update gradle and android gradle plugin

* Update android build tools to 27.0.3
This commit is contained in:
CHP 2018-07-22 07:58:58 +02:00 committed by leda
parent 01f5b19ebf
commit 2bab501cac
25 changed files with 1 additions and 36 deletions

View File

@ -2,7 +2,6 @@ apply plugin: 'com.android.library'
android { android {
compileSdkVersion PROP_COMPILE_SDK_VERSION.toInteger() compileSdkVersion PROP_COMPILE_SDK_VERSION.toInteger()
buildToolsVersion PROP_BUILD_TOOLS_VERSION
defaultConfig { defaultConfig {
minSdkVersion PROP_MIN_SDK_VERSION minSdkVersion PROP_MIN_SDK_VERSION

View File

@ -2,7 +2,6 @@ apply plugin: 'com.android.library'
android { android {
compileSdkVersion PROP_COMPILE_SDK_VERSION.toInteger() compileSdkVersion PROP_COMPILE_SDK_VERSION.toInteger()
buildToolsVersion PROP_BUILD_TOOLS_VERSION
defaultConfig { defaultConfig {
minSdkVersion PROP_MIN_SDK_VERSION minSdkVersion PROP_MIN_SDK_VERSION

View File

@ -2,7 +2,6 @@ apply plugin: 'com.android.application'
android { android {
compileSdkVersion PROP_COMPILE_SDK_VERSION.toInteger() compileSdkVersion PROP_COMPILE_SDK_VERSION.toInteger()
buildToolsVersion PROP_BUILD_TOOLS_VERSION
defaultConfig { defaultConfig {
applicationId "org.cocos2dx.hellocpp" applicationId "org.cocos2dx.hellocpp"

View File

@ -26,8 +26,6 @@ PROP_MIN_SDK_VERSION=14
# Android SDK version that will be used as the latest version of android this application has been tested on # Android SDK version that will be used as the latest version of android this application has been tested on
PROP_TARGET_SDK_VERSION=27 PROP_TARGET_SDK_VERSION=27
# Android Build Tools version that will be used as the compile project
PROP_BUILD_TOOLS_VERSION=27.0.1
# List of CPU Archtexture to build that application with # List of CPU Archtexture to build that application with
# Available architextures (armeabi-v7a | arm64-v8a | x86) # Available architextures (armeabi-v7a | arm64-v8a | x86)

View File

@ -4,7 +4,6 @@ apply plugin: 'com.android.application'
android { android {
compileSdkVersion PROP_COMPILE_SDK_VERSION.toInteger() compileSdkVersion PROP_COMPILE_SDK_VERSION.toInteger()
buildToolsVersion PROP_BUILD_TOOLS_VERSION
defaultConfig { defaultConfig {
applicationId "org.cocos2dx.hellojavascript" applicationId "org.cocos2dx.hellojavascript"

View File

@ -26,8 +26,6 @@ PROP_MIN_SDK_VERSION=14
# Android SDK version that will be used as the latest version of android this application has been tested on # Android SDK version that will be used as the latest version of android this application has been tested on
PROP_TARGET_SDK_VERSION=27 PROP_TARGET_SDK_VERSION=27
# Android Build Tools version that will be used as the compile project
PROP_BUILD_TOOLS_VERSION=27.0.1
# List of CPU Archtexture to build that application with # List of CPU Archtexture to build that application with
# Available architextures (armeabi-v7a | arm64-v8a | x86) # Available architextures (armeabi-v7a | arm64-v8a | x86)

View File

@ -4,7 +4,6 @@ apply plugin: 'com.android.application'
android { android {
compileSdkVersion PROP_COMPILE_SDK_VERSION.toInteger() compileSdkVersion PROP_COMPILE_SDK_VERSION.toInteger()
buildToolsVersion PROP_BUILD_TOOLS_VERSION
defaultConfig { defaultConfig {
applicationId "org.cocos2dx.hellolua" applicationId "org.cocos2dx.hellolua"

View File

@ -26,8 +26,6 @@ PROP_MIN_SDK_VERSION=14
# Android SDK version that will be used as the latest version of android this application has been tested on # Android SDK version that will be used as the latest version of android this application has been tested on
PROP_TARGET_SDK_VERSION=27 PROP_TARGET_SDK_VERSION=27
# Android Build Tools version that will be used as the compile project
PROP_BUILD_TOOLS_VERSION=27.0.1
# List of CPU Archtexture to build that application with # List of CPU Archtexture to build that application with
# Available architextures (armeabi-v7a | arm64-v8a | x86) # Available architextures (armeabi-v7a | arm64-v8a | x86)

View File

@ -2,7 +2,6 @@ apply plugin: 'com.android.application'
android { android {
compileSdkVersion PROP_COMPILE_SDK_VERSION.toInteger() compileSdkVersion PROP_COMPILE_SDK_VERSION.toInteger()
buildToolsVersion PROP_BUILD_TOOLS_VERSION
defaultConfig { defaultConfig {
applicationId "org.cocos2dx.cpp_empty_test" applicationId "org.cocos2dx.cpp_empty_test"

View File

@ -26,8 +26,6 @@ PROP_MIN_SDK_VERSION=14
# Android SDK version that will be used as the latest version of android this application has been tested on # Android SDK version that will be used as the latest version of android this application has been tested on
PROP_TARGET_SDK_VERSION=27 PROP_TARGET_SDK_VERSION=27
# Android Build Tools version that will be used as the compile project
PROP_BUILD_TOOLS_VERSION=27.0.1
# List of CPU Archtexture to build that application with # List of CPU Archtexture to build that application with
# Available architextures (armeabi-v7a | arm64-v8a | x86) # Available architextures (armeabi-v7a | arm64-v8a | x86)

View File

@ -2,7 +2,6 @@ apply plugin: 'com.android.application'
android { android {
compileSdkVersion PROP_COMPILE_SDK_VERSION.toInteger() compileSdkVersion PROP_COMPILE_SDK_VERSION.toInteger()
buildToolsVersion PROP_BUILD_TOOLS_VERSION
defaultConfig { defaultConfig {
applicationId "org.cocos2dx.cpp_tests" applicationId "org.cocos2dx.cpp_tests"

View File

@ -26,8 +26,6 @@ PROP_MIN_SDK_VERSION=14
# Android SDK version that will be used as the latest version of android this application has been tested on # Android SDK version that will be used as the latest version of android this application has been tested on
PROP_TARGET_SDK_VERSION=27 PROP_TARGET_SDK_VERSION=27
# Android Build Tools version that will be used as the compile project
PROP_BUILD_TOOLS_VERSION=27.0.1
# List of CPU Archtexture to build that application with # List of CPU Archtexture to build that application with
# Available architextures (armeabi-v7a | arm64-v8a | x86) # Available architextures (armeabi-v7a | arm64-v8a | x86)

View File

@ -2,7 +2,6 @@ apply plugin: 'com.android.application'
android { android {
compileSdkVersion PROP_COMPILE_SDK_VERSION.toInteger() compileSdkVersion PROP_COMPILE_SDK_VERSION.toInteger()
buildToolsVersion PROP_BUILD_TOOLS_VERSION
defaultConfig { defaultConfig {
applicationId "org.cocos2dx.game_controller_test" applicationId "org.cocos2dx.game_controller_test"

View File

@ -26,8 +26,6 @@ PROP_MIN_SDK_VERSION=14
# Android SDK version that will be used as the latest version of android this application has been tested on # Android SDK version that will be used as the latest version of android this application has been tested on
PROP_TARGET_SDK_VERSION=27 PROP_TARGET_SDK_VERSION=27
# Android Build Tools version that will be used as the compile project
PROP_BUILD_TOOLS_VERSION=27.0.1
# List of CPU Archtexture to build that application with # List of CPU Archtexture to build that application with
# Available architextures (armeabi | armeabi-v7a | arm64-v8a | x86) # Available architextures (armeabi | armeabi-v7a | arm64-v8a | x86)

View File

@ -4,7 +4,6 @@ apply plugin: 'com.android.application'
android { android {
compileSdkVersion PROP_COMPILE_SDK_VERSION.toInteger() compileSdkVersion PROP_COMPILE_SDK_VERSION.toInteger()
buildToolsVersion PROP_BUILD_TOOLS_VERSION
defaultConfig { defaultConfig {
applicationId "org.cocos2dx.js_tests" applicationId "org.cocos2dx.js_tests"

View File

@ -26,8 +26,6 @@ PROP_MIN_SDK_VERSION=14
# Android SDK version that will be used as the latest version of android this application has been tested on # Android SDK version that will be used as the latest version of android this application has been tested on
PROP_TARGET_SDK_VERSION=27 PROP_TARGET_SDK_VERSION=27
# Android Build Tools version that will be used as the compile project
PROP_BUILD_TOOLS_VERSION=27.0.1
# List of CPU Archtexture to build that application with # List of CPU Archtexture to build that application with
# Available architextures (armeabi-v7a | arm64-v8a | x86) # Available architextures (armeabi-v7a | arm64-v8a | x86)

View File

@ -4,7 +4,6 @@ apply plugin: 'com.android.application'
android { android {
compileSdkVersion PROP_COMPILE_SDK_VERSION.toInteger() compileSdkVersion PROP_COMPILE_SDK_VERSION.toInteger()
buildToolsVersion PROP_BUILD_TOOLS_VERSION
defaultConfig { defaultConfig {
applicationId "org.cocos2dx.lua_empty_test" applicationId "org.cocos2dx.lua_empty_test"

View File

@ -26,8 +26,6 @@ PROP_MIN_SDK_VERSION=14
# Android SDK version that will be used as the latest version of android this application has been tested on # Android SDK version that will be used as the latest version of android this application has been tested on
PROP_TARGET_SDK_VERSION=27 PROP_TARGET_SDK_VERSION=27
# Android Build Tools version that will be used as the compile project
PROP_BUILD_TOOLS_VERSION=27.0.1
# List of CPU Archtexture to build that application with # List of CPU Archtexture to build that application with
# Available architextures (armeabi-v7a | arm64-v8a | x86) # Available architextures (armeabi-v7a | arm64-v8a | x86)

View File

@ -2,7 +2,6 @@ apply plugin: 'com.android.application'
android { android {
compileSdkVersion PROP_COMPILE_SDK_VERSION.toInteger() compileSdkVersion PROP_COMPILE_SDK_VERSION.toInteger()
buildToolsVersion PROP_BUILD_TOOLS_VERSION
defaultConfig { defaultConfig {
applicationId "org.cocos2dx.LuaGameControllerTest" applicationId "org.cocos2dx.LuaGameControllerTest"

View File

@ -26,8 +26,6 @@ PROP_MIN_SDK_VERSION=14
# Android SDK version that will be used as the latest version of android this application has been tested on # Android SDK version that will be used as the latest version of android this application has been tested on
PROP_TARGET_SDK_VERSION=27 PROP_TARGET_SDK_VERSION=27
# Android Build Tools version that will be used as the compile project
PROP_BUILD_TOOLS_VERSION=27.0.1
# List of CPU Archtexture to build that application with # List of CPU Archtexture to build that application with
# Available architextures (armeabi | armeabi-v7a | arm64-v8a | x86) # Available architextures (armeabi | armeabi-v7a | arm64-v8a | x86)

View File

@ -4,7 +4,6 @@ apply plugin: 'com.android.application'
android { android {
compileSdkVersion PROP_COMPILE_SDK_VERSION.toInteger() compileSdkVersion PROP_COMPILE_SDK_VERSION.toInteger()
buildToolsVersion PROP_BUILD_TOOLS_VERSION
defaultConfig { defaultConfig {
applicationId "org.cocos2dx.lua_tests" applicationId "org.cocos2dx.lua_tests"

View File

@ -26,8 +26,6 @@ PROP_MIN_SDK_VERSION=14
# Android SDK version that will be used as the latest version of android this application has been tested on # Android SDK version that will be used as the latest version of android this application has been tested on
PROP_TARGET_SDK_VERSION=27 PROP_TARGET_SDK_VERSION=27
# Android Build Tools version that will be used as the compile project
PROP_BUILD_TOOLS_VERSION=27.0.1
# List of CPU Archtexture to build that application with # List of CPU Archtexture to build that application with
# Available architextures (armeabi-v7a | arm64-v8a | x86) # Available architextures (armeabi-v7a | arm64-v8a | x86)

View File

@ -2,7 +2,6 @@ apply plugin: 'com.android.application'
android { android {
compileSdkVersion PROP_COMPILE_SDK_VERSION.toInteger() compileSdkVersion PROP_COMPILE_SDK_VERSION.toInteger()
buildToolsVersion PROP_BUILD_TOOLS_VERSION
defaultConfig { defaultConfig {
applicationId "org.cocos2dx.performance_tests" applicationId "org.cocos2dx.performance_tests"

View File

@ -26,8 +26,6 @@ PROP_MIN_SDK_VERSION=14
# Android SDK version that will be used as the latest version of android this application has been tested on # Android SDK version that will be used as the latest version of android this application has been tested on
PROP_TARGET_SDK_VERSION=27 PROP_TARGET_SDK_VERSION=27
# Android Build Tools version that will be used as the compile project
PROP_BUILD_TOOLS_VERSION=27.0.1
# List of CPU Archtexture to build that application with # List of CPU Archtexture to build that application with
# Available architextures (armeabi | armeabi-v7a | arm64-v8a | x86) # Available architextures (armeabi | armeabi-v7a | arm64-v8a | x86)

View File

@ -83,7 +83,7 @@ def install_android_sdk():
cmd1 = SDK_MANAGER + switches cmd1 = SDK_MANAGER + switches
packages = [ packages = [
"platforms;android-27", "platforms;android-27",
"build-tools;27.0.1", "build-tools;27.0.3",
"platform-tools", "platform-tools",
"tools" "tools"
] ]