fun add(dependency: Any, vararg types: String): LibraryItem
Add a dependency from any possible definition with special type configuration to the library list.
dependency - a dependency object
types - set of deployment or environment types
fun add(dependency: Any): LibraryItem
Add a dependency from any possible definition a to the configuration.
dependency - a dependency object
fun add(libs: Collection<Any>): Unit
Add a list of dependencies to the library list.
fun add(dependency: Any, action: Action<in LibraryItem>): Unit
Add a dependency from any possible definition a to the configuration.
dependency - a dependency object.
action - action to configure all parameters of library item.