snapshot
Adds a snapshot dependency on the specified buildType
Example. Snapshot dependency with disabled reuse of existing builds
Snapshot dependencies form a build chain.
dependencies {
snapshot(AnotherBuild) {
reuseBuilds = ReuseBuilds.NO
}
}
Parameters
buildType to depend on
function to initialize the snapshot dependency
Adds a snapshot dependency on the buildType with the specified id
Example. Snapshot dependency with disabled reuse of existing builds
Snapshot dependencies form a build chain.
dependencies {
snapshot("AnotherBuildId") {
reuseBuilds = ReuseBuilds.NO
}
}
Parameters
id of the buildType to depend on
function to initialize the snapshot dependency