Details
-
Type:
Bug
-
Status:
Open
-
Resolution: Unresolved
-
Affects Version/s: 0.9.1
-
Fix Version/s: None
Description
According to the Bnd documentation an OSGi bundle is constructed from 3 different arguments:
Export-Package
Private-Package
Include-Resource
Using the Include-Resource instruction seems to have no effect on the resulting bundle.
This might be an documentation issue. My understanding is that Bnd uses the Include-Resource instruction to add e.g additional Java archives to an OSGi bundle. If Gradle proposes a different approach to allow the same than it would be helpful if this could be documented.
Issue Links
- Related to
-
GRADLE-905
OSGi plugin does not create the declarative service description if someone is using the aQute annotations
-
The osgi plugin does not address your use case currently. It does only generate the manifest. We will address this issue for 1.0. The workaround you have at the moment is to use the bnd ant task and then to merge the generated manifest and other files into the jar task.