fun snapshot(buildType: BuildType, init: SnapshotDependency.() -> Unit): Unit
Adds a snapshot dependency on the specified buildType
buildType
- buildType to depend on
init
- function to initialize the snapshot dependency
fun snapshot(buildTypeId: Id, init: SnapshotDependency.() -> Unit): Unit
Adds a snapshot dependency on the buildType with the specified id