Increased default target sdk to 29 (#848)

* (android) increased default target sdk to 29

* Updated travis and appveyor to use build tools/api level 29

* Fixed two other files that was missing the API 29 update
This commit is contained in:
Norman Breau 2020-01-07 11:47:27 -04:00 committed by GitHub
parent 91d2716122
commit 5889001465
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
6 changed files with 13 additions and 13 deletions

View File

@ -7,8 +7,8 @@ dist: trusty
env: env:
global: global:
- ANDROID_API_LEVEL=28 - ANDROID_API_LEVEL=29
- ANDROID_BUILD_TOOLS_VERSION=28.0.3 - ANDROID_BUILD_TOOLS_VERSION=29.0.2
- TERM=dumb # Keep gradle from crapping all over the log - TERM=dumb # Keep gradle from crapping all over the log
matrix: matrix:
- nodejs_version=10 - nodejs_version=10

View File

@ -19,7 +19,7 @@ install:
- set PATH=%PATH%;"%ANDROID_HOME%\tools\bin" - set PATH=%PATH%;"%ANDROID_HOME%\tools\bin"
- yes 2> nul | sdkmanager --licenses > nul - yes 2> nul | sdkmanager --licenses > nul
- sdkmanager "build-tools;28.0.3" - sdkmanager "build-tools;29.0.2"
- choco install gradle --version 3.4.1 - choco install gradle --version 3.4.1

View File

@ -40,10 +40,10 @@ allprojects {
//This replaces project.properties w.r.t. build settings //This replaces project.properties w.r.t. build settings
project.ext { project.ext {
defaultBuildToolsVersion="28.0.3" //String defaultBuildToolsVersion="29.0.2" //String
defaultMinSdkVersion=19 //Integer - Minimum requirement is Android 4.4 defaultMinSdkVersion=19 //Integer - Minimum requirement is Android 4.4
defaultTargetSdkVersion=28 //Integer - We ALWAYS target the latest by default defaultTargetSdkVersion=29 //Integer - We ALWAYS target the latest by default
defaultCompileSdkVersion=28 //Integer - We ALWAYS compile with the latest by default defaultCompileSdkVersion=29 //Integer - We ALWAYS compile with the latest by default
} }
} }

View File

@ -5,7 +5,7 @@
split.density=false split.density=false
# Project target. # Project target.
target=android-28 target=android-29
apk-configurations= apk-configurations=
renderscript.opt.level=O0 renderscript.opt.level=O0
android.library=true android.library=true

View File

@ -1,13 +1,13 @@
apply plugin: 'com.android.application' apply plugin: 'com.android.application'
android { android {
compileSdkVersion 28 compileSdkVersion 29
buildToolsVersion "28.0.3" buildToolsVersion "29.0.2"
defaultConfig { defaultConfig {
applicationId "com.example.anis.myapplication" applicationId "com.example.anis.myapplication"
minSdkVersion 21 minSdkVersion 21
targetSdkVersion 28 targetSdkVersion 29
versionCode 1 versionCode 1
versionName "1.0" versionName "1.0"
} }

View File

@ -19,13 +19,13 @@
apply plugin: 'com.android.application' apply plugin: 'com.android.application'
android { android {
compileSdkVersion 28 compileSdkVersion 29
buildToolsVersion "28.0.3" buildToolsVersion "29.0.2"
defaultConfig { defaultConfig {
applicationId "org.apache.cordova.unittests" applicationId "org.apache.cordova.unittests"
minSdkVersion 19 minSdkVersion 19
targetSdkVersion 28 targetSdkVersion 29
versionCode 1 versionCode 1
versionName "1.0" versionName "1.0"
testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner" testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner"