Skip to content

Commit

Permalink
build: fix names of artifactIds to publish
Browse files Browse the repository at this point in the history
  • Loading branch information
christian-draeger committed Nov 29, 2023
1 parent 9322b1d commit 0835864
Showing 1 changed file with 6 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,12 @@ publishing {
}
publications.create<MavenPublication>("mavenJava") {
from(components["java"])

artifactId =
if (project.name == project.rootProject.name) {
project.name
} else {
"${project.rootProject.name}-${project.name}"
}
createSkrapeItPom {
name.set("skrape{it} ${project.name}")
}
Expand Down

0 comments on commit 0835864

Please sign in to comment.