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

getResourceDirectories

@Incubating 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.

Exceptions

UnsupportedMethodException - For Gradle versions older than 4.7 where this method is not supported.

Since
4.7