[GRADLE-2237] OSGi manifest should handle explicit instructions matching symbolic ones. Created: 16/Apr/12  Updated: 04/Jan/13  Resolved: 19/Apr/12

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

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


 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.


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