Rename dependency variable

This commit is contained in:
extendedclip 2020-08-03 15:38:53 -04:00
parent 2a559fd240
commit 542ffd6b7b

View File

@ -103,12 +103,12 @@ publishing {
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")
// jetbrains annotations
def jetbrainsAnnotations = dependenciesNode.appendNode("dependency")
jetbrainsAnnotations.appendNode("groupId", "org.jetbrains")
jetbrainsAnnotations.appendNode("artifactId", "annotations")
jetbrainsAnnotations.appendNode("version", "19.0.0")
}
}
}