mirror of https://github.com/axmolengine/axmol.git
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:
parent
01f5b19ebf
commit
2bab501cac
|
@ -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
|
||||||
|
|
|
@ -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
|
||||||
|
|
|
@ -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"
|
||||||
|
|
|
@ -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)
|
||||||
|
|
|
@ -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"
|
||||||
|
|
|
@ -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)
|
||||||
|
|
|
@ -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"
|
||||||
|
|
|
@ -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)
|
||||||
|
|
|
@ -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"
|
||||||
|
|
|
@ -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)
|
||||||
|
|
|
@ -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"
|
||||||
|
|
|
@ -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)
|
||||||
|
|
|
@ -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"
|
||||||
|
|
|
@ -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)
|
||||||
|
|
|
@ -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"
|
||||||
|
|
|
@ -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)
|
||||||
|
|
|
@ -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"
|
||||||
|
|
|
@ -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)
|
||||||
|
|
|
@ -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"
|
||||||
|
|
|
@ -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)
|
||||||
|
|
|
@ -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"
|
||||||
|
|
|
@ -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)
|
||||||
|
|
|
@ -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"
|
||||||
|
|
|
@ -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)
|
||||||
|
|
|
@ -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"
|
||||||
]
|
]
|
||||||
|
|
Loading…
Reference in New Issue