* chore(cli): update to new buildConfig format the existing usage has been deprecated and will be removed on gradle plugin v9, as Android Studio warns * add config to our lib too
@@ -0,0 +1,6 @@
+---
+"tauri-cli": patch:changes
+"@tauri-apps/cli": patch:changes
+
+Migrate to new Android buildFeatures.buildConfig format.
@@ -31,6 +31,9 @@ android {
kotlinOptions {
jvmTarget = "1.8"
}
+ buildFeatures {
+ buildConfig = true
+ }
dependencies {
@@ -50,6 +50,9 @@ android {
rust {
@@ -18,6 +18,6 @@ repositories {
compileOnly(gradleApi())
- implementation("com.android.tools.build:gradle:8.0.0")
+ implementation("com.android.tools.build:gradle:8.3.2")
@@ -21,5 +21,4 @@ kotlin.code.style=official
# resources declared in the library itself and none from the library's dependencies,
# thereby reducing the size of the R class for that library
android.nonTransitiveRClass=true
-android.defaults.buildfeatures.buildconfig=true
android.nonFinalResIds=false