This is primary a problem under windows in combination with the gradle daemon.
The daemon holds the file handles to all files of the runtime configuration as the Builders close method is not called.
To make this fully working there is also a neccessary change in the bndlib (see https://github.com/bndtools/bnd/pull/1298). So an update to a new version is required as soon as the bndlib is updated.
Apparently, I was in a hurry to merge this. Let's wait till bnd 3.2 is out. I don't see any reopen button so it looks like I need to do a double revert.
This is primary a problem under windows in combination with the gradle daemon. The daemon holds the file handles to all files of the runtime configuration as the Builders close method is not called. To make this fully working there is also a neccessary change in the bndlib (see https://github.com/bndtools/bnd/pull/1298). So an update to a new version is required as soon as the bndlib is updated.