From: Chris Bain Date: Sun, 25 Apr 2021 21:27:29 +0000 (-0400) Subject: Ignore Eclipse .project and .classpath when using build tools Maven or Gradle X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=7f56496393d1975d38ac1c23755d1547923273b8;p=gitignore.git Ignore Eclipse .project and .classpath when using build tools Maven or Gradle --- diff --git a/Gradle.gitignore b/Gradle.gitignore index 85888bb2..0986bbec 100644 --- a/Gradle.gitignore +++ b/Gradle.gitignore @@ -10,3 +10,9 @@ gradle-app.setting # Cache of project .gradletasknamecache + +# Eclipse Gradle plugin generated files +# Eclipse Core +.project +# JDT-specific (Eclipse Java Development Tools) +.classpath diff --git a/Maven.gitignore b/Maven.gitignore index 0e13eebb..2f435308 100644 --- a/Maven.gitignore +++ b/Maven.gitignore @@ -9,3 +9,9 @@ buildNumber.properties .mvn/timing.properties # https://github.com/takari/maven-wrapper#usage-without-binary-jar .mvn/wrapper/maven-wrapper.jar + +# Eclipse m2e generated files +# Eclipse Core +.project +# JDT-specific (Eclipse Java Development Tools) +.classpath