Revert "Need to change build.gradle, so that we will get successful war creation."

This reverts commit 0344568a3ac7912f070e64ac4a38470ccdcfa972.