diff --git a/build-conventions/src/main/kotlin/convention.publishing.gradle.kts b/build-conventions/src/main/kotlin/convention.publishing.gradle.kts index a244d6a0..660a41c2 100644 --- a/build-conventions/src/main/kotlin/convention.publishing.gradle.kts +++ b/build-conventions/src/main/kotlin/convention.publishing.gradle.kts @@ -1,4 +1,5 @@ import util.Git + plugins { id("convention.common") id("convention.dokka") @@ -37,6 +38,17 @@ tasks { } } +publishing { + publications { + create("js") { + groupId = "${project.group}" + artifactId = project.name + version = "${project.version}" + from(components["kotlin"]) + } + } +} + signing { val signingKey: String? by project val signingPassword: String? by project