Skip to content
This repository has been archived by the owner on Feb 1, 2025. It is now read-only.

Commit

Permalink
Fix publication configuration, take 2
Browse files Browse the repository at this point in the history
  • Loading branch information
Kantis committed Mar 19, 2024
1 parent 15aae15 commit e3d6fe7
Show file tree
Hide file tree
Showing 2 changed files with 21 additions and 26 deletions.
3 changes: 0 additions & 3 deletions build.gradle.kts
Original file line number Diff line number Diff line change
@@ -1,7 +1,4 @@
plugins {
`java-library`
signing
`maven-publish`
id("kotest-publishing-conventions")
kotlin("multiplatform").version(Libs.kotlinVersion)
id("io.kotest.multiplatform") version Libs.Kotest.version
Expand Down
44 changes: 21 additions & 23 deletions buildSrc/src/main/kotlin/kotest-publishing-conventions.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -53,33 +53,31 @@ publishing {
}
}

publications.withType<MavenPublication>().forEach {
it.apply {
//if (Ci.isRelease)
pom {
name.set("Kotest")
description.set("Kotlin Test Framework")
url.set("https://github.com/kotest/kotest")
publications.withType<MavenPublication>().configureEach {
//if (Ci.isRelease)
pom {
name.set("kotest-property-datetime")
description.set("Kotest property testing generators for kotlinx-datetime")
url.set("https://github.com/kotest/kotest-property-datetime")

scm {
connection.set("scm:git:https://github.com/kotest/kotest/")
developerConnection.set("scm:git:https://github.com/sksamuel/")
url.set("https://github.com/kotest/kotest/")
}
scm {
connection.set("scm:git:https://github.com/kotest/kotest-property-datetime/")
developerConnection.set("scm:git:https://github.com/sksamuel/")
url.set("https://github.com/kotest/kotest-property-datetime/")
}

licenses {
license {
name.set("Apache-2.0")
url.set("https://opensource.org/licenses/Apache-2.0")
}
licenses {
license {
name.set("Apache-2.0")
url.set("https://opensource.org/licenses/Apache-2.0")
}
}

developers {
developer {
id.set("sksamuel")
name.set("Stephen Samuel")
email.set("[email protected]")
}
developers {
developer {
id.set("sksamuel")
name.set("Stephen Samuel")
email.set("[email protected]")
}
}
}
Expand Down

0 comments on commit e3d6fe7

Please sign in to comment.