Skip to content

Commit

Permalink
fix(cli): readd targetSdk to Android app template, closes #10712 (#10791
Browse files Browse the repository at this point in the history
)

Regression from #10558
  • Loading branch information
lucasfernog authored Aug 27, 2024
1 parent 1e44181 commit 9718dc9
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 0 deletions.
6 changes: 6 additions & 0 deletions .changes/readd-target-sdk-app.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
---
"tauri-cli": patch:bug
"@tauri-apps/cli": patch:bug
---

Reintroduce the `targetSdk` value in the Android application template.
1 change: 1 addition & 0 deletions tooling/cli/templates/mobile/android/app/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ android {
manifestPlaceholders["usesCleartextTraffic"] = "false"
applicationId = "{{app.identifier}}"
minSdk = {{android.min-sdk-version}}
targetSdk = 34
versionCode = tauriProperties.getProperty("tauri.android.versionCode", "1").toInt()
versionName = tauriProperties.getProperty("tauri.android.versionName", "1.0")
}
Expand Down

0 comments on commit 9718dc9

Please sign in to comment.