api / org.gradle.tooling.model.idea / IdeaContentRoot

IdeaContentRoot

interface IdeaContentRoot

Contains content root information.

Functions

getExcludeDirectories

abstract fun getExcludeDirectories(): MutableSet<File>

The set of excluded directories.

getGeneratedSourceDirectories

abstract fun getGeneratedSourceDirectories(): DomainObjectSet<out IdeaSourceDirectory>

The set of generated source directories. This is a subset of those directories returned by #getSourceDirectories().

getGeneratedTestDirectories

abstract fun getGeneratedTestDirectories(): DomainObjectSet<out IdeaSourceDirectory>

The set of generated test directories. This is a subset of those directories returned by #getTestDirectories().

getResourceDirectories

abstract fun getResourceDirectories(): DomainObjectSet<out IdeaSourceDirectory>

The set of resource directories. NOTE: The resources directory is only available for Java projects, otherwise it is empty set.

getRootDirectory

abstract fun getRootDirectory(): File

The content root directory.

getSourceDirectories

abstract fun getSourceDirectories(): DomainObjectSet<out IdeaSourceDirectory>

The set of source directories.

getTestDirectories

abstract fun getTestDirectories(): DomainObjectSet<out IdeaSourceDirectory>

The set of test source directories.

getTestResourceDirectories

abstract fun getTestResourceDirectories(): DomainObjectSet<out IdeaSourceDirectory>

The set of test resource directories. NOTE: The test resources directory is only available for Java projects, otherwise it is empty set.