diff --git a/build.gradle.kts b/build.gradle.kts index 5208f754..ebda2e8e 100644 --- a/build.gradle.kts +++ b/build.gradle.kts @@ -11,6 +11,7 @@ plugins { alias(libs.plugins.kotlin.jvm) alias(libs.plugins.kotlin.qa) alias(libs.plugins.dokka) + alias(libs.plugins.kotlin.serialization) } group = "io.github.smartoperatingblock" @@ -29,6 +30,7 @@ dependencies { implementation(libs.ktor.netty) implementation(libs.ktor.client.cio) implementation(libs.ktor.client.core) + implementation(libs.ktor.serialization) testImplementation(libs.bundles.kotlin.testing) } diff --git a/gradle/libs.versions.toml b/gradle/libs.versions.toml index 95bb156d..c2b6e39f 100644 --- a/gradle/libs.versions.toml +++ b/gradle/libs.versions.toml @@ -16,6 +16,7 @@ ktor-netty = { module = "io.ktor:ktor-server-netty", version.ref = "ktor" } archunit = { module = "com.tngtech.archunit:archunit-junit5", version = "1.0.1" } ktor-client-cio = { module = "io.ktor:ktor-client-cio", version.ref = "ktor" } ktor-client-core = { module = "io.ktor:ktor-client-core", version.ref = "ktor" } +ktor-serialization = { module = "io.ktor:ktor-serialization-kotlinx-json", version.ref = "ktor" } [bundles] kotlin-testing = ["archunit", "kotest-junit5", "kotest-assertions-core", "kotest-assertions-core-jvm"] @@ -23,4 +24,5 @@ kotlin-testing = ["archunit", "kotest-junit5", "kotest-assertions-core", "kotest [plugins] dokka = { id ="org.jetbrains.dokka", version = "1.8.10" } kotlin-jvm = { id = "org.jetbrains.kotlin.jvm", version.ref = "kotlin" } -kotlin-qa = { id = "org.danilopianini.gradle-kotlin-qa", version = "0.41.0" } \ No newline at end of file +kotlin-qa = { id = "org.danilopianini.gradle-kotlin-qa", version = "0.41.0" } +kotlin-serialization = { id = "org.jetbrains.kotlin.plugin.serialization", version.ref = "kotlin" } \ No newline at end of file