As far as I know, the default Gradle buildDir is called "build". Is there any plugin / task that uses "bin" by default? If so, please provide a link to the documentation.
But to me it looks more like you are dealing with the Eclipse default output directory (which actually is "bin" - and is listed in Global/Eclipse.gitignore)
Every project and subproject I build with gradle's java-library plugin generates a build and a bin directory. I encounter this all the time, but I now wonder if this actually has something to do with the VSCode gradle plugin?
I'm using VSCode too and realized it creates a hidden .settings folder containing the org.eclipse.buildship.core file. Maybe it's related to Java Extension plugin for the VSC editor.
Anyway, bin was manually added to my .gitignore since it equals to a build dir.
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.
You can’t perform that action at this time.
You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.
Gradle generates
bin/directories containing.classfiles that shouldn't be checked in to git. This PR ignores these directories