diff --git a/bin/templates/project/build.gradle b/bin/templates/project/build.gradle index d09805de..ad2ada45 100644 --- a/bin/templates/project/build.gradle +++ b/bin/templates/project/build.gradle @@ -37,10 +37,10 @@ allprojects { //This replaces project.properties w.r.t. build settings project.ext { - defaultBuildToolsVersion="29.0.2" //String + defaultBuildToolsVersion="30.0.3" //String defaultMinSdkVersion=22 //Integer - Minimum requirement is Android 5.1 - defaultTargetSdkVersion=29 //Integer - We ALWAYS target the latest by default - defaultCompileSdkVersion=29 //Integer - We ALWAYS compile with the latest by default + defaultTargetSdkVersion=30 //Integer - We ALWAYS target the latest by default + defaultCompileSdkVersion=30 //Integer - We ALWAYS compile with the latest by default } } diff --git a/framework/project.properties b/framework/project.properties index d0519174..52d09c30 100644 --- a/framework/project.properties +++ b/framework/project.properties @@ -5,7 +5,7 @@ split.density=false # Project target. -target=android-29 +target=android-30 apk-configurations= renderscript.opt.level=O0 android.library=true diff --git a/spec/fixtures/android_studio_project/app/build.gradle b/spec/fixtures/android_studio_project/app/build.gradle index 25935a2e..b1c3b856 100644 --- a/spec/fixtures/android_studio_project/app/build.gradle +++ b/spec/fixtures/android_studio_project/app/build.gradle @@ -1,13 +1,13 @@ apply plugin: 'com.android.application' android { - compileSdkVersion 29 - buildToolsVersion "29.0.2" + compileSdkVersion 30 + buildToolsVersion "30.0.3" defaultConfig { applicationId "com.example.anis.myapplication" minSdkVersion 21 - targetSdkVersion 29 + targetSdkVersion 30 versionCode 1 versionName "1.0" } diff --git a/spec/unit/check_reqs.spec.js b/spec/unit/check_reqs.spec.js index 66b6326a..a1fe4f9d 100644 --- a/spec/unit/check_reqs.spec.js +++ b/spec/unit/check_reqs.spec.js @@ -26,7 +26,7 @@ var which = require('which'); const { CordovaError } = require('cordova-common'); // This should match /bin/templates/project/build.gradle -const DEFAULT_TARGET_API = 29; +const DEFAULT_TARGET_API = 30; describe('check_reqs', function () { let check_reqs; diff --git a/test/android/app/build.gradle b/test/android/app/build.gradle index c7bfd23c..bb1bc19c 100644 --- a/test/android/app/build.gradle +++ b/test/android/app/build.gradle @@ -21,13 +21,13 @@ apply plugin: 'kotlin-android' apply plugin: 'kotlin-android-extensions' android { - compileSdkVersion 29 - buildToolsVersion "29.0.2" + compileSdkVersion 30 + buildToolsVersion "30.0.3" defaultConfig { applicationId "org.apache.cordova.unittests" minSdkVersion 22 - targetSdkVersion 29 + targetSdkVersion 30 versionCode 1 versionName "1.0" testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner" diff --git a/test/androidx/app/build.gradle b/test/androidx/app/build.gradle index 54fa6552..fa570548 100644 --- a/test/androidx/app/build.gradle +++ b/test/androidx/app/build.gradle @@ -19,13 +19,13 @@ apply plugin: 'com.android.application' android { - compileSdkVersion 29 - buildToolsVersion "29.0.2" + compileSdkVersion 30 + buildToolsVersion "30.0.3" defaultConfig { applicationId "org.apache.cordova.unittests" minSdkVersion 22 - targetSdkVersion 29 + targetSdkVersion 30 versionCode 1 versionName "1.0" testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"