[...]
> configurations {
> nodeps
> }
> dependencies {
> compile 'a', 'b', 'c', 'd'
> }
[...]
> To cut the long story short: How do I remove 'a' and 'b' from the
> compile / runtime dependencies of 'nodeps'?
Finally, I figured it out:
uploadNodeps {
repositories.mavenDeployer {
pom.whenConfigured { pom -> pom.dependencies = pom.dependencies.findAll {
dep -> !dep.artifactId.startsWith('mypackage-name-here') }
}
[...]
Best regards,
Lars
--
Semagia
<http://www.semagia.com>
---------------------------------------------------------------------
To unsubscribe from this list, please visit:
http://xircles.codehaus.org/manage_email