Closed rotty3000 closed 3 years ago
osgi.identity=${project.name}
may make sense for maven, but for a Gradle project, there can be many jar tasks. Should all the jar tasks outputs be runrequired?
Maven can also have many jars. The point is more than 90% of the time there is one only. And I believe that is a reasonable default and assumption.
The bnd-*-maven-plugins have this support and it makes things simpler by enabling the default to be something like "resolve me".
It would be great if gradle tasks supported the same.
Effectively this is programming a default of
-runrequires: osgi.identity;filter:='(osgi.identity=${project.name})'
when no-runrequires
instruction is provided.Any task accepting a bndrun should be interested in this.