Copy jaxb.properties from java package to build folder

How can one configure a build script to include the jaxb.properties file, which has to be put in the same package as the targeted domain classes. As far as I understand gradle only copies .java files from the source directories.