api / org.gradle.plugins.ide.idea.model / IdeaModule / getSourceDirs

getSourceDirs

open fun getSourceDirs(): MutableSet<File>

The directories containing the production sources.

For backward-compatibility it is set of directories containing the production sources from project.sourceSets.main.allSource.

Starting with Gradle 5.0 it is set of directories containing the production sources from project.sourceSets.main.allJava. For example see docs for IdeaModule