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:
apply plugin: 'com.diffplug.gradle.eclipse.excludebuildfolder'
If you’d like to exclude more than just the build folder, you might want to look at the more general
|Constructor and Description|
|Modifier and Type||Method and Description|
Plugin application, which is guaranteed to execute only once.