From: Mike Kobit Date: Fri, 24 Jun 2016 17:26:18 +0000 (-0500) Subject: Only ignore the build directory in the same directory as .gitignore for Gradle X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=refs%2Fpull%2F2026%2Fhead;p=gitignore.git 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. --- diff --git a/Gradle.gitignore b/Gradle.gitignore index 77617a15..a1fc39c0 100644 --- a/Gradle.gitignore +++ b/Gradle.gitignore @@ -1,5 +1,5 @@ .gradle -build/ +/build/ # Ignore Gradle GUI config gradle-app.setting