Uploaded image for project: 'Gradle'
  1. Gradle
  2. GRADLE-2806

Update OSGi plugin to use the latest BND library version

    Details

    • Type: Improvement
    • Status: Resolved
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 1.7-rc-1
    • Gradle Forums topic Reference:

      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

        Activity

        Hide
        forums Gradle Forums added a comment -

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

        Show
        forums Gradle Forums added a comment - The pull request updates the version to 2.1.0 and fixes the imports as there was a package change for the `Analyzer` class.
        Hide
        forums Gradle Forums added a comment -

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

        Show
        forums Gradle Forums added a comment - Do you know if this is backwards compatible for users of the osgi plugin? We can't make this change if it isn't.

          People

          • Assignee:
            ldaley Luke Daley
            Reporter:
            forums Gradle Forums
          • Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development