Skip to content

Commit

Permalink
gradle: upgrade Kotlin and AGP
Browse files Browse the repository at this point in the history
Signed-off-by: Harsh Shandilya <[email protected]>
  • Loading branch information
msfjarvis authored and zx2c4 committed May 2, 2023
1 parent 1b5f4d6 commit 6d67a3d
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions gradle/libs.versions.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[versions]
agp = "8.0.0"
kotlin = "1.8.0"
agp = "8.0.1"
kotlin = "1.8.21"

[libraries]
androidx-activity-ktx = "androidx.activity:activity-ktx:1.7.1"
Expand Down
4 changes: 2 additions & 2 deletions ui/build.gradle.kts
Original file line number Diff line number Diff line change
@@ -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)
Expand Down Expand Up @@ -78,5 +78,5 @@ tasks.withType<JavaCompile>().configureEach {
}

tasks.withType<KotlinCompile>().configureEach {
kotlinOptions.jvmTarget = JavaVersion.VERSION_11.toString()
compilerOptions.jvmTarget.set(JvmTarget.JVM_11)
}

0 comments on commit 6d67a3d

Please sign in to comment.