Yes, that allows me to add or remove the files, although the first run after deleting the files complains that the files aren't found and I have to sync the files folder.
For information, what I am trying to do is this:
I am developing a library that should only be run for a specific Build configuration. It is is a development utility that I don't want to be in the final app, I would prefer not to have to strip out the code and remove the library manually as if I want to do more work on it, I would have to put it all back. This involves a library and 3 layout files.
The files issue is 95% sorted with your suggestion.
It would be useful to be able to specify only include this library and these files in a jar if it has a certain build configuration.