TomDmitriev / gradle-bundle-plugin

Apache License 2.0
47 stars 24 forks source link

Exclude transitive dependencies in the manifest #38

Closed mjgp2 closed 8 years ago

mjgp2 commented 8 years ago

I would like to be using wildcards for the Import-Package declaration, but at the moment it pulls in all the packages from the transitive dependencies that match the pattern also.

The point of doing this is to reduce friction for developers so that they don't need to add or remove the package somewhere else.

There's a feature in the bnd maven plugin excludeDependencies comma-separated list of dependency artifactIds to exclude from the classpath passed to Bnd, use "true" to exclude everything which seems to match up perhaps?

Any feedback appreciated :)

TomDmitriev commented 8 years ago

Will be implemented in v0.7.

mjgp2 commented 8 years ago

Brilliant, thanks :)

TomDmitriev commented 8 years ago

Updated README with the instructions.