Skip to content

Commit

Permalink
build: publish service-commons-test artifact
Browse files Browse the repository at this point in the history
  • Loading branch information
waltkb committed Oct 10, 2024
1 parent a607fdf commit ff52bba
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions waltid-services/waltid-service-commons/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -95,6 +95,7 @@ artifacts {

publishing {
publications {
// Main sources
create<MavenPublication>("mavenJava") {
pom {
name.set("walt.id service-commons")
Expand All @@ -108,6 +109,7 @@ publishing {
from(components["java"])
}

// Testing sources
create<MavenPublication>("testArtifact") {
artifactId = "waltid-service-commons-test"
pom {
Expand All @@ -119,8 +121,11 @@ publishing {
)
url.set("https://walt.id")
}
from(components["java"])
artifact(tasks["testJar"])
//from(components["java"])

artifact(testJar)/* {
classifier = "test"
}*/
}
}

Expand Down

0 comments on commit ff52bba

Please sign in to comment.