From 4442459b24cdbac25cb1e4de11583d22c21452b3 Mon Sep 17 00:00:00 2001 From: jcesarmobile Date: Fri, 18 Feb 2022 18:34:27 +0100 Subject: [PATCH] feat(android): set default targetSDK to 31 (#5442) --- android/capacitor/build.gradle | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/android/capacitor/build.gradle b/android/capacitor/build.gradle index 5825521545..46eb59da06 100644 --- a/android/capacitor/build.gradle +++ b/android/capacitor/build.gradle @@ -26,10 +26,10 @@ tasks.withType(Javadoc).all { enabled = false } apply plugin: 'com.android.library' android { - compileSdkVersion project.hasProperty('compileSdkVersion') ? rootProject.ext.compileSdkVersion : 30 + compileSdkVersion project.hasProperty('compileSdkVersion') ? rootProject.ext.compileSdkVersion : 31 defaultConfig { minSdkVersion project.hasProperty('minSdkVersion') ? rootProject.ext.minSdkVersion : 21 - targetSdkVersion project.hasProperty('targetSdkVersion') ? rootProject.ext.targetSdkVersion : 30 + targetSdkVersion project.hasProperty('targetSdkVersion') ? rootProject.ext.targetSdkVersion : 31 versionCode 1 versionName "1.0" consumerProguardFiles 'proguard-rules.pro'