Closed fabianmeyer closed 7 years ago
When the manifest of a "wrapInstruction" matches a file pattern, the instruction is removed from the config:
BndWrapper.groovy
Map<String, Object[]> config = getWrapConfig( wrapInstructions, jarFile ) def consumeValue = { String key -> Object[] items = config.remove( key ) if ( items ) items.join( ',' ) else null }
Hence, the instruction is not applied to subsequent jar files, matching the pattern. E.g.
runOsgi { bundles += subprojects wrapInstructions { manifest( ~/.*/ ) { instruction 'Import-Package', '!org.scalatest*', '!org.scalacheck*', '!org.specs*','*' } } }
is only applied to the first match.
Fixed in 1.5.2.
Sorry, I was quite busy in the last days. Thanks for fixing it!
When the manifest of a "wrapInstruction" matches a file pattern, the instruction is removed from the config:
BndWrapper.groovy
Hence, the instruction is not applied to subsequent jar files, matching the pattern. E.g.
is only applied to the first match.