How do I get gradle to add struts.xml into my WAR's WEB-INF/classes?

Hey, I’m a new Gradle user trying to package a struts web app as a war. Everything appears to work fine, but my struts.xml is not added to the WEB-INF/classes, even though it is in my src tree,Shouldn’t everything under src/main/java be copied to WEB-INF/classes? What am I missing?

You should put the file under ‘src/main/resources’.