api / org.gradle.plugins.ide.eclipse.model / EclipseWtpComponent / getSourceDirs

getSourceDirs

open fun getSourceDirs(): MutableSet<File>

Source directories to be transformed into wb-resource elements.

For examples see docs for EclipseWtp

Only source dirs that exist will be added to the wtp component file. Non-existing resource directory declarations lead to errors when project is imported into Eclipse.