Created gradle task to check for correct war deployment.