I'm trying to exclude a properties file that is located in
src/main/resources from the war generated via "gradle war." This will be
deployed directly into Tomcat on various environments. The version located
in the source tree is only for development on local workstations (i.e.
running in the IDE or via gradle jettyRun).

Here's what I have:

war {
  exclude '**/system.properties'
}

Lo and behold, system.properties is still included in the war.

What am I missing?

Thanks in advance for the help.

-- 
Matt Stine
Deep South Software: Training, Consulting, Coaching
http://www.deepsouthsoftware.com
[email protected]

Reply via email to