Exclude gradle build directory

The default output folder for gradle is a build/ directory. Makes sense to exclude this folder because gradle can generate everything inside the folder.