From 7f56496393d1975d38ac1c23755d1547923273b8 Mon Sep 17 00:00:00 2001 From: Chris Bain Date: Sun, 25 Apr 2021 17:27:29 -0400 Subject: [PATCH] Ignore Eclipse .project and .classpath when using build tools Maven or Gradle --- Gradle.gitignore | 6 ++++++ Maven.gitignore | 6 ++++++ 2 files changed, 12 insertions(+) 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