>> On Jul 13, 2017, at 6:23 PM, Mark Derricutt <m...@talios.com> wrote:

>> Which set of annotations are you using?

> On Jul 15, 2017, at 4:02 AM, David Jencks <david.a.jen...@gmail.com> wrote:

> I would be interested to know what the gradle magic is….

I am not a deep expert in bnd, but I did a quick investigation. I think that 
bnd looks for @Component annotations, so actually is DS-based. So my earlier 
statement was misleading: it looks like it has nothing to do with gradle after 
all.

I tried experimenting using the @Provide-Capability header. That could 
potentially work.

Note that this won’t work if you mix with DS components. Instead of adding 
classes to the list of objectClass, it added a completely new 
“osgi.service;objectClass…” entry. 


Cheers,
=David

Reply via email to