build Type
Registers the specified buildType in this project.
Example. Build configuration defined in-place
object Main: Project({
name = "Main"
description = "The project main branch"
buildType(RunTests)
})
object RunTests: BuildType({
// ...
})
Content copied to clipboard
Parameters
bt
bt to register
See also
Registers a new buildType initialized with the specified block in this project.
Example. Build configuration defined in-place
buildType {
id("Build")
name = "Build"
steps {
gradle {
tasks = "clean build"
}
}
}
Content copied to clipboard
Return
added buildType
Parameters
init
initialization block