Skip to content

Commit 4cf70ac

Browse files
committed
fix name for pom while publishing
1 parent a5f3811 commit 4cf70ac

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

buildSrc/src/main/kotlin/kediatr-publishing.gradle.kts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,11 +20,11 @@ afterEvaluate {
2020
publications {
2121
create<MavenPublication>("publish-${project.name}") {
2222
groupId = rootProject.group.toString()
23-
artifactId = project.name
2423
version = rootProject.version.toString()
24+
artifactId = project.name
2525
from(components["java"])
2626
pom {
27-
name.set(rootProject.name)
27+
name.set(project.name)
2828
description.set(project.properties["projectDescription"].toString())
2929
url.set(project.properties["projectUrl"].toString())
3030
packaging = "jar"

0 commit comments

Comments
 (0)