mirror of
https://github.com/tauri-apps/plugins-workspace.git
synced 2026-09-30 21:59:36 +02:00
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:
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")
|
||||
Reference in new issue
Block a user