Skip to content

Commit

Permalink
chore: add serialization dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
giacomoaccursi committed May 18, 2023
1 parent dc974a3 commit 49dbf53
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
2 changes: 2 additions & 0 deletions build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand All @@ -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)
}

Expand Down
4 changes: 3 additions & 1 deletion gradle/libs.versions.toml
Original file line number Diff line number Diff line change
Expand Up @@ -16,11 +16,13 @@ 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"]

[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" }
kotlin-qa = { id = "org.danilopianini.gradle-kotlin-qa", version = "0.41.0" }
kotlin-serialization = { id = "org.jetbrains.kotlin.plugin.serialization", version.ref = "kotlin" }

0 comments on commit 49dbf53

Please sign in to comment.