# extendsFrom

abstract fun extendsFrom(superConfigs: Array<Configuration>): Configuration(source)

Adds the given configurations to the set of configuration which this configuration extends from.

Configurations are only allowed to extend from other configurations in the same project.

#### Return

this configuration

#### Parameters

superConfigs

The super configurations.

@Incubating
abstract fun extendsFrom(superConfigs: Provider<out Configuration>): Configuration(source)

Adds the given configurations to the set of configuration which this configuration extends from.

Configurations are only allowed to extend from other configurations in the same project.

#### Return

this configuration

#### Since

9.4.0

#### Parameters

superConfigs

The super configurations.