Updated moduleResources task to look for src/main/resources when using the gradle structure