mirror of
https://github.com/PlaceholderAPI/PlaceholderAPI
synced 2024-11-18 00:46:55 +01:00
Maybe this will include the jetbrains annotations in the pom?
This commit is contained in:
parent
364635cd06
commit
0982505574
@ -99,8 +99,16 @@ publishing {
|
|||||||
from components.java
|
from components.java
|
||||||
|
|
||||||
pom.withXml {
|
pom.withXml {
|
||||||
|
|
||||||
asNode().appendNode("packaging", "jar")
|
asNode().appendNode("packaging", "jar")
|
||||||
asNode().remove(asNode().get("dependencies"))
|
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")
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user