mirror of
https://github.com/null2264/yokai.git
synced 2025-06-21 10:44:42 +00:00
chore(deps): Kotlin 2.0
This commit is contained in:
parent
55813429b3
commit
b29d51e30e
9 changed files with 40 additions and 33 deletions
|
@ -1,13 +1,15 @@
|
|||
import com.android.build.gradle.BaseExtension
|
||||
import com.android.build.gradle.BasePlugin
|
||||
import org.gradle.api.tasks.testing.logging.TestLogEvent
|
||||
import org.jetbrains.kotlin.gradle.tasks.KotlinJvmCompile
|
||||
import org.jetbrains.kotlin.gradle.dsl.JvmTarget
|
||||
import org.jetbrains.kotlin.gradle.tasks.KotlinCompile
|
||||
import java.util.*
|
||||
|
||||
plugins {
|
||||
alias(libs.plugins.kotlinter)
|
||||
alias(libs.plugins.gradle.versions)
|
||||
alias(kotlinx.plugins.android) apply false
|
||||
alias(kotlinx.plugins.compose.compiler) apply false
|
||||
}
|
||||
|
||||
buildscript {
|
||||
|
@ -29,9 +31,9 @@ buildscript {
|
|||
}
|
||||
|
||||
subprojects {
|
||||
tasks.withType<KotlinJvmCompile> {
|
||||
kotlinOptions {
|
||||
jvmTarget = JavaVersion.VERSION_17.toString()
|
||||
tasks.withType<KotlinCompile> {
|
||||
compilerOptions {
|
||||
jvmTarget = JvmTarget.JVM_17
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue