summaryrefslogtreecommitdiffhomepage
path: root/ui
diff options
context:
space:
mode:
authorHarsh Shandilya <me@msfjarvis.dev>2023-05-03 00:52:52 +0530
committerJason A. Donenfeld <Jason@zx2c4.com>2023-05-03 00:52:52 +0530
commit6d67a3d5f5d6e9b4f5f22113255045ad74e62cf9 (patch)
treedf6a88c6f2f212f3659f855abc47ae30620af004 /ui
parent1b5f4d6dfd5208755c7b9571cf5bf7e45bb49bca (diff)
gradle: upgrade Kotlin and AGP
Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
Diffstat (limited to 'ui')
-rw-r--r--ui/build.gradle.kts4
1 files changed, 2 insertions, 2 deletions
diff --git a/ui/build.gradle.kts b/ui/build.gradle.kts
index 10968ec1..7164cf3d 100644
--- a/ui/build.gradle.kts
+++ b/ui/build.gradle.kts
@@ -1,6 +1,6 @@
@file:Suppress("UnstableApiUsage")
+import org.jetbrains.kotlin.gradle.dsl.JvmTarget
import org.jetbrains.kotlin.gradle.tasks.KotlinCompile
-import org.gradle.api.tasks.compile.JavaCompile
plugins {
alias(libs.plugins.android.application)
@@ -78,5 +78,5 @@ tasks.withType<JavaCompile>().configureEach {
}
tasks.withType<KotlinCompile>().configureEach {
- kotlinOptions.jvmTarget = JavaVersion.VERSION_11.toString()
+ compilerOptions.jvmTarget.set(JvmTarget.JVM_11)
}