fix(android): Migrate Gradle scripts to compilerOptions DSL (#3478)

* fix(android): Migrate Gradle scripts to `compilerOptions` DSL

Co-authored-by: Tobias Bieniek <tobias@bieniek.cloud>

* re-run `tauri android init`

* remove change file

---------

Co-authored-by: Tobias Bieniek <tobias@bieniek.cloud>
This commit is contained in:
TonyandTobias Bieniek authored and GitHub committed 2026-09-28 10:02:13 +08:00
1 parent a2364a5f21
commit aa2cc64135
3 files changed
+23 -10

No files matched your search

@@ -1,4 +1,5 @@
import java.util.Properties
import org.jetbrains.kotlin.gradle.dsl.JvmTarget
plugins {
id("com.android.application")
@@ -45,14 +46,17 @@ android {
)
}
}
kotlinOptions {
jvmTarget = "1.8"
}
buildFeatures {
buildConfig = true
}
}
kotlin {
compilerOptions {
jvmTarget = JvmTarget.JVM_1_8
}
}
rust {
rootDirRel = "../../../"
}
@@ -67,4 +71,4 @@ dependencies {
androidTestImplementation("androidx.test.espresso:espresso-core:3.5.0")
}
apply(from = "tauri.build.gradle.kts")
apply(from = "tauri.build.gradle.kts")