update kotlin

This commit is contained in:
2025-03-25 17:42:32 +06:00
parent 28eb1a11e6
commit dfd23f8d60
2 changed files with 14 additions and 6 deletions

View File

@@ -1,6 +1,6 @@
[versions]
kt = "2.1.10"
kt = "2.1.20"
kt-serialization = "1.8.0"
kt-coroutines = "1.10.1"
@@ -23,7 +23,7 @@ koin = "4.0.2"
okio = "3.10.2"
ksp = "2.1.10-1.0.31"
ksp = "2.1.20-1.0.31"
kotlin-poet = "1.18.1"
versions = "0.51.0"

View File

@@ -1,13 +1,21 @@
plugins {
id "org.jetbrains.kotlin.multiplatform"
id "org.jetbrains.kotlin.plugin.serialization"
id "application"
// id "application"
id "com.google.devtools.ksp"
}
apply from: "$mppJvmJsLinuxMingwProject"
kotlin {
jvm {
binaries {
// Configures a JavaExec task named "runJvm" and a Gradle distribution for the "main" compilation in this target
executable {
mainClass.set("dev.inmo.micro_utils.startup.launcher.MainKt")
}
}
}
sourceSets {
commonMain {
dependencies {
@@ -23,9 +31,9 @@ kotlin {
}
}
application {
mainClassName = "dev.inmo.micro_utils.startup.launcher.MainKt"
}
//application {
// mainClassName = "dev.inmo.micro_utils.startup.launcher.MainKt"
//}
java {
sourceCompatibility = JavaVersion.VERSION_17