Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix "build" source folder being ignored (Gradle) #4535

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

niklaswimmer
Copy link

Reasons for making this change:

I used the template and my files in buildSrc/src/**/build/ (my package name includes build) were being ignored. I tried around and found out that with this change they are no longer ignored. This was originally introduced in #3370, but the previous configuration only works if src is a top level directory.

Links to documentation supporting these rule changes:

If there is a separator at the beginning or middle (or both) of the pattern, then the pattern is relative to the directory level of the particular .gitignore file itself.

From https://git-scm.com/docs/gitignore, emphasizes mine.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant