chore(cli): update Android target SDK to 34 (#9870)

This commit is contained in:
Lucas Fernandes Nogueira 2024-05-25 07:46:34 -03:00 committed by GitHub
parent c4410daa85
commit 80aa504987
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
5 changed files with 15 additions and 8 deletions

View File

@ -0,0 +1,7 @@
---
"tauri-cli": patch:changes
"@tauri-apps/cli": patch:changes
"tauri": patch:changes
---
Updated Android target SDK to 34.

View File

@ -5,11 +5,11 @@ plugins {
android {
namespace = "app.tauri"
compileSdk = 33
compileSdk = 34
defaultConfig {
minSdk = 21
targetSdk = 33
targetSdk = 34
testInstrumentationRunner = "androidx.test.runner.AndroidJUnitRunner"
consumerProguardFiles("proguard-rules.pro")

View File

@ -5,11 +5,11 @@ plugins {
android {
namespace = "com.plugin.sample"
compileSdk = 32
compileSdk = 34
defaultConfig {
minSdk = 21
targetSdk = 33
targetSdk = 34
testInstrumentationRunner = "androidx.test.runner.AndroidJUnitRunner"
consumerProguardFiles("consumer-rules.pro")

View File

@ -16,13 +16,13 @@ val tauriProperties = Properties().apply {
}
android {
compileSdk = 33
compileSdk = 34
namespace = "{{reverse-domain app.identifier}}"
defaultConfig {
manifestPlaceholders["usesCleartextTraffic"] = "false"
applicationId = "{{reverse-domain app.identifier}}"
minSdk = {{android.min-sdk-version}}
targetSdk = 33
targetSdk = 34
versionCode = tauriProperties.getProperty("tauri.android.versionCode", "1").toInt()
versionName = tauriProperties.getProperty("tauri.android.versionName", "1.0")
}

View File

@ -5,11 +5,11 @@ plugins {
android {
namespace = "{{android_package_id}}"
compileSdk = 32
compileSdk = 34
defaultConfig {
minSdk = 21
targetSdk = 33
targetSdk = 34
testInstrumentationRunner = "androidx.test.runner.AndroidJUnitRunner"
consumerProguardFiles("consumer-rules.pro")