Skip to content

Commit 65347ed

Browse files
committed
Added versions for dependencies in POM
1 parent 200facf commit 65347ed

1 file changed

Lines changed: 6 additions & 0 deletions

File tree

buildSrc/src/main/kotlin/com.teamscale.publish.gradle.kts

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,12 @@ fun PublicationContainer.configureMavenPublication() {
4747
hasShadow = true
4848
}
4949

50+
versionMapping {
51+
usage(Usage.JAVA_RUNTIME) {
52+
fromResolutionOf("runtimeClasspath")
53+
}
54+
}
55+
5056
// we do not want to publish both the shadow and the normal jar (this causes errors during publishing)
5157
if (!hasShadow) {
5258
pluginManager.withPlugin("java-library") {

0 commit comments

Comments
 (0)