diff --git a/waltid-services/waltid-service-commons/build.gradle.kts b/waltid-services/waltid-service-commons/build.gradle.kts index 915fa4b8c..9861775cd 100644 --- a/waltid-services/waltid-service-commons/build.gradle.kts +++ b/waltid-services/waltid-service-commons/build.gradle.kts @@ -95,6 +95,7 @@ artifacts { publishing { publications { + // Main sources create("mavenJava") { pom { name.set("walt.id service-commons") @@ -108,6 +109,7 @@ publishing { from(components["java"]) } + // Testing sources create("testArtifact") { artifactId = "waltid-service-commons-test" pom { @@ -119,8 +121,11 @@ publishing { ) url.set("https://walt.id") } - from(components["java"]) - artifact(tasks["testJar"]) + //from(components["java"]) + + artifact(testJar)/* { + classifier = "test" + }*/ } }