gradle: upgrade Kotlin and AGP
Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
This commit is contained in:
parent
1b5f4d6dfd
commit
6d67a3d5f5
@ -1,6 +1,6 @@
|
|||||||
[versions]
|
[versions]
|
||||||
agp = "8.0.0"
|
agp = "8.0.1"
|
||||||
kotlin = "1.8.0"
|
kotlin = "1.8.21"
|
||||||
|
|
||||||
[libraries]
|
[libraries]
|
||||||
androidx-activity-ktx = "androidx.activity:activity-ktx:1.7.1"
|
androidx-activity-ktx = "androidx.activity:activity-ktx:1.7.1"
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
@file:Suppress("UnstableApiUsage")
|
@file:Suppress("UnstableApiUsage")
|
||||||
|
import org.jetbrains.kotlin.gradle.dsl.JvmTarget
|
||||||
import org.jetbrains.kotlin.gradle.tasks.KotlinCompile
|
import org.jetbrains.kotlin.gradle.tasks.KotlinCompile
|
||||||
import org.gradle.api.tasks.compile.JavaCompile
|
|
||||||
|
|
||||||
plugins {
|
plugins {
|
||||||
alias(libs.plugins.android.application)
|
alias(libs.plugins.android.application)
|
||||||
@ -78,5 +78,5 @@ tasks.withType<JavaCompile>().configureEach {
|
|||||||
}
|
}
|
||||||
|
|
||||||
tasks.withType<KotlinCompile>().configureEach {
|
tasks.withType<KotlinCompile>().configureEach {
|
||||||
kotlinOptions.jvmTarget = JavaVersion.VERSION_11.toString()
|
compilerOptions.jvmTarget.set(JvmTarget.JVM_11)
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user