open class LibraryItemContainer : AContainer
This class provides all properties for the library container extension.
LibraryItemContainer(dependencyHandler: DependencyHandler, parent: ComponentExtension)
provides an empty preconfigured library container |
val items: Set<LibraryItem>
This set provides all configured libraries. This list will be completed by the transitive dependencies of the component. |
|
open val parent: ComponentExtension
the parent of this container. |
|
var resolveTransitive: Boolean
This property configures the dependency resolution of the configured dependencies during the creation of the descriptor. The descriptor must be complete! The default value is true. |
val defTargetPath: String |
|
val description: String
a short description of this container for log messages. |
|
var targetPath: String
This path describes the installation in the default installation of the component. |
fun add(dependency: Any, vararg types: String): LibraryItem
Add a dependency from any possible definition with special type configuration to the library list. fun add(dependency: Any): LibraryItemfun add(dependency: Any, action: Action<in LibraryItem>): Unit
Add a dependency from any possible definition a to the configuration. fun add(libs: Collection<Any>): Unit
Add a list of dependencies to the library list. |
fun addTypes(item: AItem): Unit
Add types to types list from item. |