Skip to content

Commit

Permalink
feat(android): set default targetSDK to 31 (#5442)
Browse files Browse the repository at this point in the history
  • Loading branch information
jcesarmobile authored Feb 18, 2022
1 parent bc7b49f commit 4442459
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions android/capacitor/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -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'
Expand Down

0 comments on commit 4442459

Please sign in to comment.