There seems to be a mechanism for customizing the manifest for Gradle non-workspace builds:
apply plugin: 'biz.aQute.bnd.builder'
jar {
manifest {
attributes('Export-Package': 'com.acme.api.*',
'-sources': 'true',
'-include': 'other.bnd')
}
}
I would like to do a similar customization when running the release task in a workspace build.
For example , I would like to not include the source (-sources:false) when releasing a bundle.
In my bnd.bnd, sources is not specified, so the default behavior to include the source applies.
Is this possible ?
Regards
Peter