Skip to content

Commit

Permalink
fix: removes deprecated gradle options (#404)
Browse files Browse the repository at this point in the history
  • Loading branch information
jmetz authored Oct 14, 2024
1 parent 5735c19 commit b4d615f
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 5 deletions.
5 changes: 5 additions & 0 deletions .changes/deprecated-gradle-identifiers.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"cargo-mobile2": "patch"
---

Remove deprecated options from gradle file in the generated android template.
7 changes: 2 additions & 5 deletions templates/platforms/android-studio/app/build.gradle.kts.hbs
Original file line number Diff line number Diff line change
Expand Up @@ -7,11 +7,11 @@ plugins {
android {
namespace="{{app.identifier}}"{{#if has-asset-packs}}
assetPacks += mutableSetOf({{quote-and-join-colon-prefix asset-packs}}){{/if}}
compileSdk = 33
compileSdk = 34
defaultConfig {
applicationId = "{{app.identifier}}"
minSdk = {{android.min-sdk-version}}
targetSdk = 33
targetSdk = 34
versionCode = 1
versionName = "1.0"
}{{#if android-vulkan-validation}}
Expand All @@ -38,9 +38,6 @@ android {
)
}
}
kotlinOptions {
jvmTarget = "1.8"
}
}

rust {
Expand Down

0 comments on commit b4d615f

Please sign in to comment.