public class ResourceFiltersPlugin extends ProjectPlugin
Eclipse projects can have resource filters which include or exclude certain files.

This plugin allows you to easily configure these settings.
apply plugin: 'com.diffplug.gradle.eclipse.resourcefilters'
eclipseResourceFilters {
exclude().folders().name('build')
include().folders().projectRelativePath('main/src/*')
exclude().files().name('*.class').recursive()
}
For full details on what filters you can create, see ResourceFilter.
| Constructor and Description |
|---|
ResourceFiltersPlugin() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
applyOnce(Project project)
Plugin application, which is guaranteed to execute only once.
|
apply, getPlugin, treeDefprotected void applyOnce(Project project)
ProjectPluginPlugin application, which is guaranteed to execute only once.
applyOnce in class ProjectPlugin