renatoathaydes / osgi-run

Osgi-Run - A Gradle plugin to make the development of modular applications using OSGi completely painless
Apache License 2.0
54 stars 13 forks source link

Cannot use a Jar file dependency as a OSGi bundle #59

Closed renatoathaydes closed 7 years ago

renatoathaydes commented 7 years ago

When doing:

runOsgi {
    bundles = [ files(myDirWithJar) ]
}

An Exception is thrown because the plugin tries to configure the dependency (with "transitive" and "exclusions").

The plugin should only do that for bundles that are of type Dependency.