|
@@ -1,6 +1,6 @@
|
|
plugins {
|
|
plugins {
|
|
application
|
|
application
|
|
- kotlin("jvm") version "1.9.22"
|
|
|
|
|
|
+ kotlin("jvm") version "2.0.21"
|
|
kotlin("plugin.serialization") version "2.0.0"
|
|
kotlin("plugin.serialization") version "2.0.0"
|
|
id("com.github.johnrengelman.shadow") version "8.1.0"
|
|
id("com.github.johnrengelman.shadow") version "8.1.0"
|
|
}
|
|
}
|
|
@@ -17,8 +17,7 @@ application {
|
|
}
|
|
}
|
|
|
|
|
|
val ktor_version = "2.3.12"
|
|
val ktor_version = "2.3.12"
|
|
-val kotlinx_serialization_version = "1.6.3"
|
|
|
|
-val vertx_pg_client = "4.5.8"
|
|
|
|
|
|
+val kotlinx_serialization_version = "1.7.3"
|
|
|
|
|
|
dependencies {
|
|
dependencies {
|
|
implementation("org.jetbrains.kotlinx:kotlinx-serialization-json:$kotlinx_serialization_version")
|
|
implementation("org.jetbrains.kotlinx:kotlinx-serialization-json:$kotlinx_serialization_version")
|
|
@@ -26,11 +25,17 @@ dependencies {
|
|
implementation("io.ktor:ktor-server-netty:$ktor_version")
|
|
implementation("io.ktor:ktor-server-netty:$ktor_version")
|
|
implementation("io.ktor:ktor-server-default-headers:$ktor_version")
|
|
implementation("io.ktor:ktor-server-default-headers:$ktor_version")
|
|
implementation("io.ktor:ktor-server-html-builder:$ktor_version")
|
|
implementation("io.ktor:ktor-server-html-builder:$ktor_version")
|
|
- implementation("com.github.jasync-sql:jasync-postgresql:2.2.0")
|
|
|
|
|
|
+ implementation("com.github.jasync-sql:jasync-postgresql:2.2.4")
|
|
|
|
+}
|
|
|
|
+
|
|
|
|
+java {
|
|
|
|
+ toolchain {
|
|
|
|
+ languageVersion = JavaLanguageVersion.of(21)
|
|
|
|
+ }
|
|
}
|
|
}
|
|
|
|
|
|
tasks.shadowJar {
|
|
tasks.shadowJar {
|
|
- archiveBaseName.set("bench")
|
|
|
|
|
|
+ archiveBaseName.set("ktor-asyncdb")
|
|
archiveClassifier.set("")
|
|
archiveClassifier.set("")
|
|
archiveVersion.set("")
|
|
archiveVersion.set("")
|
|
}
|
|
}
|