abstract fun copyRecursive(): Configuration
Creates a copy of this configuration that contains the dependencies directly in this configuration and those derived from superconfigurations. The new configuration will be in the UNRESOLVED state, but will retain all other attributes of this configuration except superconfigurations. #getHierarchy()
for the copy will not include any superconfigurations.
Return
copy of this configuration
abstract fun copyRecursive(dependencySpec: Spec<in Dependency>): Configuration
Creates a copy of this configuration with dependencies from superconfigurations (see #copyRecursive()
) but filtering the dependencies using the dependencySpec.
dependencySpec
- filtering requirements
Return
copy of this configuration
abstract fun copyRecursive(dependencySpec: Closure<Any>): Configuration
Takes a closure which gets coerced into a Spec. Behaves otherwise in the same way as #copyRecursive(org.gradle.api.specs.Spec)
dependencySpec
- filtering requirements
Return
copy of this configuration