I have several tasks in my build.gradle file.
For some tasks, I would like to use the original spring.xml file
However, for another task, I would like to use a different file such as spring2.xml
What I am really trying to achieve is to have a gradle task that builds a WAR file where the webapp uses s3 file storage, and another gradle task build a WAR file where the webapp uses regular file storage.