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
}
}
Content copied to clipboard
Parameters
build Type
buildType to depend on
init
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
}
}
Content copied to clipboard
Parameters
build Type Id
id of the buildType to depend on
init
function to initialize the snapshot dependency