From f321755b1159678ee2e837a2da2574a39d96878f Mon Sep 17 00:00:00 2001 From: nator333 Date: Fri, 11 Jun 2021 15:01:13 -0700 Subject: [PATCH] Port #965 to 2.x branch (#970) Publish kotlinMultiplatform artifact for dsl and runtime modules (#965) --- spek-dsl/build.gradle.kts | 4 ++++ spek-runtime/build.gradle.kts | 6 +++++- 2 files changed, 9 insertions(+), 1 deletion(-) diff --git a/spek-dsl/build.gradle.kts b/spek-dsl/build.gradle.kts index 15f10f33c..0ee76360c 100644 --- a/spek-dsl/build.gradle.kts +++ b/spek-dsl/build.gradle.kts @@ -97,6 +97,10 @@ publishing { getByName("kotlinMultiplatform", MavenPublication::class) { groupId = "org.spekframework.spek2" artifactId = "spek-dsl" + pom { + name.set("Spek DSL") + description.set("Kotlin metadata module for spek-dsl") + } } } } diff --git a/spek-runtime/build.gradle.kts b/spek-runtime/build.gradle.kts index 20039685d..3cb17c2ee 100644 --- a/spek-runtime/build.gradle.kts +++ b/spek-runtime/build.gradle.kts @@ -78,7 +78,7 @@ kotlin { implementation(Dependencies.kotlinCoroutinesCore) } } - + jvm { compilations["main"].defaultSourceSet { dependencies { @@ -132,6 +132,10 @@ publishing { getByName("kotlinMultiplatform", MavenPublication::class) { groupId = "org.spekframework.spek2" artifactId = "spek-runtime" + pom { + name.set("Spek Runtime") + description.set("Kotlin metadata module for spek-runtime") + } } } }