diff --git a/build.gradle.kts b/build.gradle.kts index e60a742f..17807eb1 100644 --- a/build.gradle.kts +++ b/build.gradle.kts @@ -47,6 +47,7 @@ dependencies { // Serialization implementation(libs.ktor.server.content.negotiation) implementation(libs.ktor.serialization.kotlinx) + implementation(libs.kotlinx.datetime) // Persistence implementation(libs.postgres) diff --git a/gradle/libs.versions.toml b/gradle/libs.versions.toml index 39717948..2e9017eb 100644 --- a/gradle/libs.versions.toml +++ b/gradle/libs.versions.toml @@ -46,6 +46,8 @@ jaxws-tools = { group = "com.sun.xml.ws", name = "jaxws-tools", version.ref = "j assertj = { group = "org.assertj", name = "assertj-core", version.ref = "assertjVersion" } testcontainers-postgresql = { group = "org.testcontainers", name = "postgresql", version.ref = "testcontainersVersion" } +kotlinx-datetime = { group = "org.jetbrains.kotlinx", name = "kotlinx-datetime-jvm", version = "0.6.1"} + [plugins] kotlin-jvm = { id = "jvm", version.ref = "kotlinVersion" } kotlin-serialization = { id = "plugin.serialization", version.ref = "kotlinVersion" }