From b89498a4674a21f2f4feb3994e82acc58d747236 Mon Sep 17 00:00:00 2001 From: Mike Kobit Date: Fri, 24 Jun 2016 12:26:18 -0500 Subject: [PATCH] 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. --- Gradle.gitignore | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- 2.39.5