Adding web application using gradle and IntelliJ