We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 200facf commit 65347edCopy full SHA for 65347ed
1 file changed
buildSrc/src/main/kotlin/com.teamscale.publish.gradle.kts
@@ -47,6 +47,12 @@ fun PublicationContainer.configureMavenPublication() {
47
hasShadow = true
48
}
49
50
+ versionMapping {
51
+ usage(Usage.JAVA_RUNTIME) {
52
+ fromResolutionOf("runtimeClasspath")
53
+ }
54
55
+
56
// we do not want to publish both the shadow and the normal jar (this causes errors during publishing)
57
if (!hasShadow) {
58
pluginManager.withPlugin("java-library") {
0 commit comments