OSGI-INF/serviceComponent.xml can be generated using maven scr felix plugin by adding dependency like
<plugin>
<groupId>org.apache.felix</groupId>
<artifactId>maven-scr-plugin</artifactId>
<version>1.15.0</version>
<executions>
<execution>
<id>generate-scr-scrdescriptor</id>
<goals>
<goal>scr</goal>
</goals>
</execution>
</executions>
</plugin>
but for gradle I am not able to generate.. I have tried to add the
buildscript {
dependencies {
classpath group:'be.jlr-home.gradle' , name:'scrPlugin', version:'0.1.0'
}}
apply plugin: 'java'
`apply plugin: 'eclipse'
apply plugin: 'maven'
apply plugin: 'osgi'
apply plugin: 'scr'
It's giving error that be.jlr-home.gradle not found.
I am doing something wrong???
basically I need the dependency to add in gradle to generate the servicecomponent.xml