]> source.dussan.org Git - gitignore.git/commitdiff
Only ignore the build directory in the same directory as .gitignore for Gradle 2026/head
authorMike Kobit <mkobit@gmail.com>
Fri, 24 Jun 2016 17:26:18 +0000 (12:26 -0500)
committerMike Kobit <mkobit@gmail.com>
Fri, 24 Jun 2016 17:30:38 +0000 (12:30 -0500)
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

index 77617a15c3818f6a8d59f26307467a62409f9751..a1fc39c070f4f8ba52f278c15cd4d2121d07c8a8 100644 (file)
@@ -1,5 +1,5 @@
 .gradle
-build/
+/build/
 
 # Ignore Gradle GUI config
 gradle-app.setting