I need to add jaxb.properties file to a generated jar file. This link (http://stackoverflow.com/questions/12410828/gradle-add-single-file-to-jar) tells me how. However this only adds the file at the top level of the archive. I need to specify the subdir (java package path) inside the archive. The jaxb.properties needs to be in the same package as the class which is being marshalled/unmarshalled.
Sachin_Nikam (Sachin Nikam) #1
Sachin_Nikam (Sachin Nikam) #2
I got it working with the following script