fun feature(feature: BuildFeature): Unit
Adds the specified build feature
feature
- build feature to add
fun feature(init: BuildFeature.() -> Unit): BuildFeature
Adds a build feature initialized with the specified init block
init
- block to initialize new feature
Return
added feature