DependencyConfig

constructor(version: String, configuration: String? = null, configurations: List<String>? = configuration?.let { listOf(it) }, configurationAction: ExternalModuleDependency.() -> Unit = {})

Parameters

version

The version of the dependency

configuration

The configuration to add the dependency to. Automatically populates configurations if set (default: null)

configurations

The configurations to add the dependency to. Defaults to a list containing configuration if provided, otherwise null (default: null)

configurationAction

The action to apply to the dependency (default: {})