Only ignore the build directory in the same directory as .gitignore for Gradle

If you have a Java package with `build` in it, the current version will always ignore files in that directory.
This change makes it so only the root "build" directory is ignored.

I believe that this assumes .gitignore is in the root of a project.
This commit is contained in:
Mike Kobit 2016-06-24 12:26:18 -05:00
parent f93202c42e
commit b89498a467

View File

@ -1,5 +1,5 @@
.gradle .gradle
build/ /build/
# Ignore Gradle GUI config # Ignore Gradle GUI config
gradle-app.setting gradle-app.setting