Skip to content

Commit b89498a

Browse files
committed
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.
1 parent f93202c commit b89498a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Gradle.gitignore

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
.gradle
2-
build/
2+
/build/
33

44
# Ignore Gradle GUI config
55
gradle-app.setting

0 commit comments

Comments
 (0)