Closed catshow closed 2 years ago
bundles
property which is a ConfigurableFileCollection
?val resolveTask = tasks.register<aQute.bnd.gradle.Resolve>("resolve") {
description = "Resolve test.bndrun"
group = "test"
bundles.from(configurations.testRuntimeClasspath)
bndrun.set(file("test.bndrun"))
outputBndrun.set(layout.buildDirectory.file("test.bndrun"))
}
Sorry about the wrong repo. I was looking at how to configure a workspace. Yep the bundles thing works. I'm still a gradle newb. I was just following an example from osgi.test which requires an integration project. Could you update the resolve and TestOSGi task documentation to show how to use the bundles? Thanks!
Please add a Configuration property for the resolve plugin for which you can set a configuration like this sample task:
I am not allowed to make large source contributions but this is how I patched the plugin in AbstractBndrun.java