Skip to content

Commit ac12aca

Browse files
author
Francisco Solis
committed
Fixed build script
1 parent 06a6343 commit ac12aca

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
@@ -105,7 +105,9 @@ publishing {
105105

106106
pom.withXml {
107107
asNode().appendNode('packaging', 'jar')
108-
asNode().remove(asNode().get('dependencies')[0])
108+
if(asNode().get('dependencies') != null){
109+
asNode().remove(asNode().get('dependencies')[0])
110+
}
109111
}
110112
}
111113
}

0 commit comments

Comments
 (0)