Skip to content

Commit e655ab7

Browse files
author
Francisco Solis
committed
Fixed build script
1 parent 35af50c commit e655ab7

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

build.gradle

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -107,7 +107,9 @@ publishing {
107107

108108
pom.withXml {
109109
asNode().appendNode('packaging', 'jar')
110-
asNode().remove(asNode().get('dependencies')[0])
110+
if(asNode().remove(asNode().get('dependencies')[0]) != null) {
111+
asNode().remove(asNode().get('dependencies')[0])
112+
}
111113
}
112114
}
113115
}

0 commit comments

Comments
 (0)