api / org.gradle.api.artifacts / Configuration / isTransitive

isTransitive

abstract fun isTransitive(): Boolean

Returns the transitivity of this configuration. A transitive configuration contains the transitive closure of its direct dependencies, and all their dependencies. An intransitive configuration contains only the direct dependencies. The default value is true.

Return
true if this is a transitive configuration, false otherwise.