X Tutup
The Wayback Machine - https://web.archive.org/web/20210210104213/https://github.com/github/gitignore/pull/3478
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

Ignore Gradle bin directory #3478

Open
wants to merge 1 commit into
base: master
from
Open

Ignore Gradle bin directory #3478

wants to merge 1 commit into from

Conversation

@Ewpratten
Copy link

@Ewpratten Ewpratten commented Jul 20, 2020

Gradle generates bin/ directories containing .class files that shouldn't be checked in to git. This PR ignores these directories

@drothmaler
Copy link
Contributor

@drothmaler drothmaler commented Jul 20, 2020

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)

@Ewpratten
Copy link
Author

@Ewpratten Ewpratten commented Jul 20, 2020

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?

@jfcostta
Copy link

@jfcostta jfcostta commented Oct 5, 2020

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.

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

Successfully merging this pull request may close these issues.

None yet

3 participants
X Tutup