I realize that there has been quite a bit of time since this issue was posted; however, I have to ask if there has been any update i.e. were you able to find a solution or workaround? This is something that my team has run into as well.
The closest workaround that we tried was creating a sample application and then porting the similarly named resource into the build/intermediates directory. This seems a little hacky though and so was wondering if there were a better solution available.
Thanks, hope to hear from you soon!