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

OSGi manifest should handle explicit instructions matching symbolic ones.

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Resolved
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 1.1-rc-1

      Description

      e.g.

      
      version = "1.0.0"
      
      jar {
        manifest {
          instruction "Bundle-Version", "2.0.0"  
        }
      }
      

      This will result in 1.0.0 being used.

      This becomes an issue when you are programatically setting the manifest values, as you need to be aware of which values Gradle has special properties for and treat them specially.

        Attachments

          Activity

            People

            Assignee:
            ldaley Luke Daley
            Reporter:
            ldaley Luke Daley
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: