Skip to content

Commit 80aa504

Browse files
authored
chore(cli): update Android target SDK to 34 (#9870)
1 parent c4410da commit 80aa504

5 files changed

Lines changed: 15 additions & 8 deletions

File tree

.changes/update-target-sdk.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
---
2+
"tauri-cli": patch:changes
3+
"@tauri-apps/cli": patch:changes
4+
"tauri": patch:changes
5+
---
6+
7+
Updated Android target SDK to 34.

core/tauri/mobile/android/build.gradle.kts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,11 +5,11 @@ plugins {
55

66
android {
77
namespace = "app.tauri"
8-
compileSdk = 33
8+
compileSdk = 34
99

1010
defaultConfig {
1111
minSdk = 21
12-
targetSdk = 33
12+
targetSdk = 34
1313

1414
testInstrumentationRunner = "androidx.test.runner.AndroidJUnitRunner"
1515
consumerProguardFiles("proguard-rules.pro")

examples/api/src-tauri/tauri-plugin-sample/android/build.gradle.kts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,11 +5,11 @@ plugins {
55

66
android {
77
namespace = "com.plugin.sample"
8-
compileSdk = 32
8+
compileSdk = 34
99

1010
defaultConfig {
1111
minSdk = 21
12-
targetSdk = 33
12+
targetSdk = 34
1313

1414
testInstrumentationRunner = "androidx.test.runner.AndroidJUnitRunner"
1515
consumerProguardFiles("consumer-rules.pro")

tooling/cli/templates/mobile/android/app/build.gradle.kts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,13 +16,13 @@ val tauriProperties = Properties().apply {
1616
}
1717

1818
android {
19-
compileSdk = 33
19+
compileSdk = 34
2020
namespace = "{{reverse-domain app.identifier}}"
2121
defaultConfig {
2222
manifestPlaceholders["usesCleartextTraffic"] = "false"
2323
applicationId = "{{reverse-domain app.identifier}}"
2424
minSdk = {{android.min-sdk-version}}
25-
targetSdk = 33
25+
targetSdk = 34
2626
versionCode = tauriProperties.getProperty("tauri.android.versionCode", "1").toInt()
2727
versionName = tauriProperties.getProperty("tauri.android.versionName", "1.0")
2828
}

tooling/cli/templates/plugin/android/build.gradle.kts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,11 +5,11 @@ plugins {
55

66
android {
77
namespace = "{{android_package_id}}"
8-
compileSdk = 32
8+
compileSdk = 34
99

1010
defaultConfig {
1111
minSdk = 21
12-
targetSdk = 33
12+
targetSdk = 34
1313

1414
testInstrumentationRunner = "androidx.test.runner.AndroidJUnitRunner"
1515
consumerProguardFiles("consumer-rules.pro")

0 commit comments

Comments
 (0)