Fixed 'gradle clean build' build/libs/community-app.war

Hi,

due to https://github.com/openMF/community-app/issues/201 (which we really need to get fixed, by someone with more of a clue how to do this right!), what I submitted in https://github.com/openMF/community-app/pull/278 didn't actually work :( With this change, it now does (but it's an ugly hack - please fix  https://github.com/openMF/community-app/issues/201).