Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Next Next commit
Fix #225: remove ANTLR compile dep from published POM
  • Loading branch information
dminkovsky committed Oct 27, 2016
commit 1ac98bf57496281e9098af87c8c84b34ee0565ff
10 changes: 9 additions & 1 deletion build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,9 @@ allprojects {
}

publishing {

publications {

graphqlJava(MavenPublication) {
version version
from components.java
Expand All @@ -89,7 +91,13 @@ publishing {
classifier "javadoc"
}
pom.withXml {
asNode().children().last() + {
Node pomNode = asNode()
pomNode.dependencies.'*'.findAll() {
it.artifactId.text() == 'antlr4'
}.each() {
it.parent().remove(it)
}
pomNode.children().last() + {
resolveStrategy = Closure.DELEGATE_FIRST
name 'graphql-java'
description 'GraphqL Java'
Expand Down