Avoid osgi dependency in pom
apply plugin: 'biz.aQute.bnd.builder'
dependencies {
- implementation "org.osgi:osgi.annotation:$osgiVersion"
+ compileOnly "org.osgi:osgi.annotation:$osgiVersion"
+ testRuntimeOnly "org.osgi:osgi.annotation:$osgiVersion"
}
