Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Revert "Ignoring build folder inside app module in Android projects"
This reverts commit f4cf36c.
- Loading branch information
3b0b688
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can you please explain why this was reverted? I'm using this ignore spec in my project.
3b0b688
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It seems that each module created by Android Studio comes with an internal .gitignore that looks like this :
I'm not a fan of nested .gitignore so I adopted other rules and you can do the same :
3b0b688
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There is no need for nested gitignore files or a special rule like
*/build/
. A simplebuild/
in the root.gitignore
(as it exists today) will also match nestedbuild
folders.