feature

fun feature(feature: ProjectFeature)

Adds the specified project feature

Parameters

feature

project feature to add


fun feature(init: ProjectFeature.() -> Unit): ProjectFeature

Adds a project feature initialized with specified init block

Return

added project feature

Parameters

init

block to initialize the project feature