From 098250557401278fd4572e91656f330f7ccb1740 Mon Sep 17 00:00:00 2001 From: extendedclip Date: Mon, 3 Aug 2020 10:00:59 -0400 Subject: [PATCH] Maybe this will include the jetbrains annotations in the pom? --- build.gradle | 8 ++++++++ 1 file changed, 8 insertions(+) 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") } } }