When I define a configuration like this:
configurations {
jax_ws
compile.transitive = false
}
and later use this configuration to write entries into a Eclipse MANIFEST.MF like this:
manifest {
def manif = "${projectDir}/META-INF/MANIFEST.MF"
from (manif) {
eachEntry { details ->
if (details.key == 'Bundle-ClassPath') {
details.value = configurations.jax_ws.collect { 'lib/' + it.name }
....
I would expect that there will be no transitive dependent jars in the written values. But there are.
What do I have to do to exclude those transitive dependencies?