Update .gitignore for java web project
Base version from crzang. Base settings for gradle.