[GRADLE-2806] Update OSGi plugin to use the latest BND library version Created: 24/Jun/13  Updated: 01/Jul/13  Resolved: 01/Jul/13

Status: Resolved
Project: Gradle
Affects Version/s: None
Fix Version/s: 1.7-rc-1

Type: Improvement
Reporter: Gradle Forums Assignee: Luke Daley
Resolution: Fixed Votes: 0


 Description   

The OSGi plugin uses an older version of the BND tool for generating proper OSGi manifest information, and this version of the library doesn't handle bytecode for newer JDK versions, especially "invoke dynamic" bytecode.
As the Groovy project uses the Gradle OSGi plugin, we've not been able to properly osgi-fy our "indy" JARs.
The BND team recently released 2.1.0, and I've made a pull request with changes to switch to that newer version of the library:
[1]https://github.com/gradle/gradle/pull...
----------------------------------------------------------------------------------------
[1] https://github.com/gradle/gradle/pull/167



 Comments   
Comment by Gradle Forums [ 24/Jun/13 ]

The pull request updates the version to 2.1.0 and fixes the imports as there was a package change for the `Analyzer` class.

Comment by Gradle Forums [ 24/Jun/13 ]

Do you know if this is backwards compatible for users of the osgi plugin? We can't make this change if it isn't.

Generated at Wed Jun 30 12:32:01 CDT 2021 using Jira 8.4.2#804003-sha1:d21414fc212e3af190e92c2d2ac41299b89402cf.