Fix missing project descriptions in pom files

This commit is contained in:
Michael Bull 2020-08-26 16:50:36 +01:00
parent b16fb559a1
commit 30b5d918c7
3 changed files with 14 additions and 1 deletions

View File

@ -91,7 +91,6 @@ subprojects {
publications.withType<MavenPublication> { publications.withType<MavenPublication> {
pom { pom {
name.set(project.name) name.set(project.name)
description.set(project.description)
url.set("https://github.com/michaelbull/kotlin-result") url.set("https://github.com/michaelbull/kotlin-result")
inceptionYear.set("2017") inceptionYear.set("2017")

View File

@ -39,3 +39,10 @@ kotlin {
} }
} }
publishing {
publications.withType<MavenPublication> {
pom {
description.set(project.description)
}
}
}

View File

@ -73,3 +73,10 @@ kotlin {
} }
} }
publishing {
publications.withType<MavenPublication> {
pom {
description.set(project.description)
}
}
}