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,3 +1,5 @@
|
||||
import org.jetbrains.kotlin.gradle.dsl.JvmTarget
|
||||
|
||||
plugins {
|
||||
id("com.android.library")
|
||||
id("org.jetbrains.kotlin.android")
|
||||
@@ -18,8 +20,11 @@ android {
|
||||
sourceCompatibility = JavaVersion.VERSION_1_8
|
||||
targetCompatibility = JavaVersion.VERSION_1_8
|
||||
}
|
||||
kotlinOptions {
|
||||
jvmTarget = "1.8"
|
||||
}
|
||||
|
||||
kotlin {
|
||||
compilerOptions {
|
||||
jvmTarget = JvmTarget.JVM_1_8
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user