class Dependencies
Collection of dependencies in build configuration or template
Dependencies(base: Dependencies? = null, init: Dependencies.() -> Unit = {}) Dependencies(_items: List<Dependency>?) |
fun artifacts(buildType: BuildType, init: ArtifactDependency.() -> Unit = {}): Unit fun artifacts(buildTypeExtId: String, init: ArtifactDependency.() -> Unit = {}): Unit
Adds an artifact dependency on the specified buildType |
|
fun dependency(buildType: BuildType, init: Dependency.() -> Unit = {}): Unit
Adds a dependency on specified buildType, it should be further configured using snapshot() and artifacts() methods fun dependency(buildTypeExtId: String, init: Dependency.() -> Unit = {}): Unit
Adds a dependency on specified buildType, it should be further configured using snapshot() and artifacts() methods. Useful when buildType is not defined in kotlin. |
|
operator fun plus(other: Dependencies): Dependencies |
|
fun snapshot(buildType: BuildType, init: SnapshotDependency.() -> Unit = {}): Unit fun snapshot(buildTypeExtId: String, init: SnapshotDependency.() -> Unit = {}): Unit
Adds a snapshot dependency on the specified buildType |