mirror of
https://github.com/PlaceholderAPI/PlaceholderAPI
synced 2025-09-05 17:07:06 +02:00
Maybe this will include the jetbrains annotations in the pom?
This commit is contained in:
@@ -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")
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user