Skip to content

Commit

Permalink
Port spekframework#965 to 2.x branch (spekframework#970)
Browse files Browse the repository at this point in the history
Publish kotlinMultiplatform artifact for dsl and runtime modules (spekframework#965)
  • Loading branch information
nator333 committed Jun 11, 2021
1 parent 542f6f6 commit f321755
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 1 deletion.
4 changes: 4 additions & 0 deletions spek-dsl/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -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")
}
}
}
}
6 changes: 5 additions & 1 deletion spek-runtime/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ kotlin {
implementation(Dependencies.kotlinCoroutinesCore)
}
}

jvm {
compilations["main"].defaultSourceSet {
dependencies {
Expand Down Expand Up @@ -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")
}
}
}
}

0 comments on commit f321755

Please sign in to comment.