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().appendNode("packaging", "jar")
asNode().remove(asNode().get("dependencies")) asNode().remove(asNode().get("dependencies"))
// jetbrains annotations
def dependenciesNode = asNode().appendNode("dependencies") def dependenciesNode = asNode().appendNode("dependencies")
def dependencyNode = dependenciesNode.appendNode("dependency") // jetbrains annotations
dependencyNode.appendNode("groupId", "org.jetbrains") def jetbrainsAnnotations = dependenciesNode.appendNode("dependency")
dependencyNode.appendNode("artifactId", "annotations") jetbrainsAnnotations.appendNode("groupId", "org.jetbrains")
dependencyNode.appendNode("version", "19.0.0") jetbrainsAnnotations.appendNode("artifactId", "annotations")
jetbrainsAnnotations.appendNode("version", "19.0.0")
} }
} }
} }