Skip to content

Commit af274a2

Browse files
committed
exclude antlr in pom
1 parent 6210687 commit af274a2

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

RSyntaxTextAreaAntlrSupport/build.gradle

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -127,6 +127,14 @@ publishing {
127127
}
128128
}
129129
}
130+
pom.withXml {
131+
Node pomNode = asNode()
132+
pomNode.dependencies.'*'.findAll() {
133+
it.artifactId.text() == 'antlr4'
134+
}.each() {
135+
it.parent().remove(it)
136+
}
137+
}
130138
}
131139
}
132140
}

0 commit comments

Comments
 (0)