Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add OSGI plugin to generate bundle metadata #28

Closed
wants to merge 1 commit into from

Conversation

badfish69
Copy link

A trivial change to build.gradle to enable the OSGI plugin.
This allows the generation of OSGI bundle metadata in the resulting jar file, which in turn resolves classloader issues when running bouncy-gpg in OSGI environments.

@neuhalje
Copy link
Owner

Hi @badfish69 , thank you for the contribution. According to the plugins website it is deprecated:

This plugin is deprecated and will be removed in the next major Gradle release. New builds should not use this plugin.

  1. Maybe the bnd plugin is an alternative?
  2. Do we need any more configuration?

@badfish69
Copy link
Author

Ah - that's annoying.
This is the first time I've tried to do this with gradle. I normally work with maven.

The bnd plugin appears to be the answer, which requires slightly more configuration but is still pretty simple. I'll close this pull request and submit a new one.

@badfish69 badfish69 closed this Dec 13, 2018
@neuhalje
Copy link
Owner

neuhalje commented Dec 13, 2018 via email

@neuhalje
Copy link
Owner

(Added as PR #29 )

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants