# Eclipse plugin fixes build output directory

**URL:** <https://discuss.gradle.org/t/eclipse-plugin-fixes-build-output-directory/29464>\
**Category:** Help/Discuss\
**Tags:** eclipse\
**Created:** [November 12, 2018, 6:42pm UTC](https://discuss.gradle.org/t/eclipse-plugin-fixes-build-output-directory/29464 "2018-11-12T18:42:22Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![FrankTaylor](https://avatars.discourse-cdn.com/v4/letter/f/8baadc/32.png) [@FrankTaylor](https://discuss.gradle.org/u/FrankTaylor)\
**Post date:** [November 12, 2018, 6:42pm UTC](https://discuss.gradle.org/t/eclipse-plugin-fixes-build-output-directory/29464/1 "2018-11-12T18:42:22Z")

</div>

Our build has recently switched from Gradle 3.5 to Gradle 4.6.

We used to define the eclipse plugin classpath defaultOutputDir=build-eclipse and all the intermediates would go into “project/build-eclipse/”. Super easy to create a .gitignore rule.

With 4.6, we now get all the intermediates in “project/bin/” directory. This causes problems as we have some legitimate “bin/” directories so creating a .gitignore rule is harder.

I can see from the gradle source that “bin/” looks like its hardcoded into: [https://github.com/gradle/gradle/blob/v4.5.0/subprojects/ide/src/main/java/org/gradle/plugins/ide/eclipse/model/internal/SourceFoldersCreator.java](https://github.com/gradle/gradle/blob/v4.5.0/subprojects/ide/src/main/java/org/gradle/plugins/ide/eclipse/model/internal/SourceFoldersCreator.java)

Is there a way to override this?
