I guess my requirements are:
in my gradle.build file I’d like to not have to know how many jaxb.index files are in my source tree, nor where they are located. I’d like to be able to refer to them with something like src/**/jaxb.index
I’d like the resulting jar from the jar task to have included all of the jaxb.index files from my source tree in the corresponding location, co-located with the relevant package’s .class files
What I currently have is:
…which of course doesn’t work because the index files are not co-located with the .class files in the resulting jar, leading to jaxb binding exceptions.