Felix scr not generating Service-Component header in Manifest.MF

Hi, I’m using Declarative Services annotations in my project. I have specified the respective annotations (@Component etc) in my Component classes. I have also added the dependency for the felix scr annotations projects. But, my component xml file is not getting generated and neither is the Service-Component header in the Manifest.MF file.

Does gradle provides this support? it is possible in maven by the use of the maven-scr plugin. Do we have any such plugin in gradle?

Please guide!

Gradle’s ‘osgi’ plugin doesn’t do this. Perhaps there is a third-party plugin for this.

There are ant tasks for this - http://felix.apache.org/documentation/subprojects/apache-felix-maven-scr-plugin/apache-felix-scr-ant… - I’ve used these before in Gradle for this purpose. Unfortunately the code that I wrote is not open source.