class Dependencies
Collection of dependencies in build configuration or template
Dependencies()
Collection of dependencies in build configuration or template |
fun artifacts(buildType: BuildType, init: ArtifactDependency.() -> Unit): Unit
Adds an artifact dependency on the specified buildType fun artifacts(buildTypeId: Id, init: ArtifactDependency.() -> Unit): Unit
Adds an artifact dependency on the buildType with the specified id |
|
fun dependency(buildTypeId: IdOwner, init: Dependency.() -> Unit): Unit
Adds a dependency on the buildType with the specified id, it should be further configured using snapshot() and artifacts() methods. Useful when buildType is not defined in kotlin. |
|
fun snapshot(buildType: BuildType, init: SnapshotDependency.() -> Unit): Unit
Adds a snapshot dependency on the specified buildType fun snapshot(buildTypeId: Id, init: SnapshotDependency.() -> Unit): Unit
Adds a snapshot dependency on the buildType with the specified id |
fun Dependencies.copy(): Dependencies
Copies the receiver dependencies |
|
fun Dependencies.copyTo(target: Dependencies): Dependencies
Copies the receiver dependencies to the specified target |