Skip to content

Commit

Permalink
shadedCompile is extended by compile so that commons-lang is visible …
Browse files Browse the repository at this point in the history
…to tests
  • Loading branch information
jkschneider committed May 20, 2016
1 parent 8b148e2 commit f4ffe3f
Showing 1 changed file with 18 additions and 2 deletions.
20 changes: 18 additions & 2 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ configurations {
shadedCompile
}

configurations.compileOnly.extendsFrom configurations.shadedCompile
configurations.compile.extendsFrom configurations.shadedCompile

dependencies {
/*
Expand Down Expand Up @@ -141,4 +141,20 @@ bintray {
vcsTag = project.version
}
}
}
}

publishing {
publications {
nebula(MavenPublication) {
pom.withXml {
asNode()
.dependencies
.dependency
.findAll {
['commons-lang'].contains(it.artifactId.text())
}
.each { it.parent().remove(it) }
}
}
}
}

0 comments on commit f4ffe3f

Please sign in to comment.