Skip to content

Commit f654f47

Browse files
feat(android): update template to use targetSdk 37 (#15862)
1 parent 448d39e commit f654f47

2 files changed

Lines changed: 8 additions & 2 deletions

File tree

‎.changes/android-target-sdk-37.md‎

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
---
2+
"tauri-cli": patch:enhance
3+
"@tauri-apps/cli": patch:enhance
4+
---
5+
6+
Update template to use `targetSdk = 37`

‎crates/tauri-cli/templates/mobile/android/app/build.gradle.kts‎

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

1919
android {
20-
compileSdk = 36
20+
compileSdk = 37
2121
namespace = "{{app.identifier}}"
2222
defaultConfig {
2323
manifestPlaceholders["usesCleartextTraffic"] = "false"
2424
applicationId = "{{app.identifier}}"
2525
minSdk = {{android.min-sdk-version}}
26-
targetSdk = 36
26+
targetSdk = 37
2727
versionCode = tauriProperties.getProperty("tauri.android.versionCode", "1").toInt()
2828
versionName = tauriProperties.getProperty("tauri.android.versionName", "1.0")
2929
}

0 commit comments

Comments
 (0)