Package com.diffplug.gradle.eclipse
Class ExcludeBuildFolderPlugin
- java.lang.Object
-
- com.diffplug.gradle.ProjectPlugin
-
- com.diffplug.gradle.eclipse.ExcludeBuildFolderPlugin
-
public class ExcludeBuildFolderPlugin extends ProjectPlugin
Creates eclipse project files which excludes the gradle build folder from Eclipse's resource indexing. If you hit `Ctrl + R` in eclipse, you'll get a fuzzy search for resources in your workspace. This will include class files and other artifacts in the gradle build folder, which is usually not desirable. To fix: ```groovy apply plugin: 'com.diffplug.eclipse.excludebuildfolder' ``` If you'd like to exclude more than just the build folder, you might want to look at the more generalResourceFiltersPlugin
.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
ExcludeBuildFolderPlugin.Legacy
-
Constructor Summary
Constructors Constructor Description ExcludeBuildFolderPlugin()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected void
applyOnce(Project project)
Plugin application, which is guaranteed to execute only once.-
Methods inherited from class com.diffplug.gradle.ProjectPlugin
apply, getPlugin, treeDef
-
-
-
-
Method Detail
-
applyOnce
protected void applyOnce(Project project)
Description copied from class:ProjectPlugin
Plugin application, which is guaranteed to execute only once.- Specified by:
applyOnce
in classProjectPlugin
-
-