Eclipse build.gradle has a red slash, what does this mean?

I am running Eclipse - Indigo and have a project configured for EGit that uses Gradle to build. Today, when I noticed in the eclipse package explorer, the build.gradle file now has a red slash through the icon:

build.gradle red slash

Where did the little red slash come from, and what does that mean? Is this something like this (I don’t think the file is displayed in git status from the command line, and this red icon doesn’t appear in settings, Team, Git, Label Decorations)? I have never noticed this until today, which makes me believe that until today it has not appeared.

EDIT: Is there a chance that .gitignore contributes to eclipse's confusion? Here is the contents of my .gitignore / Test output / logs

# Gradle .gradle /build # OSX .DS_Store # Eclipse .classpath .project .tomcatplugin .settings/ /work /bin # Emacs backup files *~ \#*\#/bin 
+4
source share
1 answer

The red slash is the Groovy -Eclipse thing. This means that the gradle assembly file is interpreted as a groovy file, but this groovy file is not in the build path (and this makes sense because gradle assembly files are usually not in the source folders).

Is something not working, or are you just curious about the overlay?

+2
source

All Articles