Skip to content

Commit

Permalink
Fix missing serialization dependency (#10)
Browse files Browse the repository at this point in the history
  • Loading branch information
hfhbd authored Oct 31, 2024
1 parent b533890 commit dd587e7
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 1 deletion.
1 change: 1 addition & 0 deletions central-api/build.gradle.kts
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
plugins {
id("kotlinSetup")
kotlin("plugin.serialization")
id("java-test-fixtures")
}

Expand Down
1 change: 1 addition & 0 deletions gradle/build-logic/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ dependencies {
compileOnly(libs.ktor.client.logging)
compileOnly(libs.ktor.client.content.negotiation)
compileOnly(libs.ktor.serialization.kotlinx.json)
implementation(libs.plugins.kotlin.serialization.dep)
}

val Provider<PluginDependency>.dep: Provider<String> get() = map { "${it.pluginId}:${it.pluginId}.gradle.plugin:${it.version}" }
Expand Down
3 changes: 2 additions & 1 deletion gradle/libs.versions.toml
Original file line number Diff line number Diff line change
Expand Up @@ -15,4 +15,5 @@ ktor-server-core = { module = "io.ktor:ktor-server-core", version.ref = "ktor" }

[plugins]
kotlin-jvm = { id = "org.jetbrains.kotlin.jvm", version.ref = "kotlin" }
mavencentral = { id = "io.github.hfhbd.mavencentral", version = "0.0.1" }
kotlin-serialization = { id = "org.jetbrains.kotlin.plugin.serialization", version.ref = "kotlin" }
mavencentral = { id = "io.github.hfhbd.mavencentral", version = "0.0.5" }

0 comments on commit dd587e7

Please sign in to comment.