diff --git a/build.gradle b/build.gradle index 2a4b640..58d50fd 100644 --- a/build.gradle +++ b/build.gradle @@ -99,8 +99,16 @@ publishing { from components.java pom.withXml { + asNode().appendNode("packaging", "jar") asNode().remove(asNode().get("dependencies")) + + // jetbrains annotations + def dependenciesNode = asNode().appendNode('dependencies') + def dependencyNode = dependenciesNode.appendNode('dependency') + dependencyNode.appendNode('groupId', "org.jetbrains") + dependencyNode.appendNode('artifactId', "annotations") + dependencyNode.appendNode('version', "19.0.0") } } }