iviInstances

abstract fun iviInstances(action: Action<IviInstanceContainer>)

Allows the configuration of IVI instance through the given action as a lambda.

Example

ivi {
application {
iviInstances {
create(IviInstanceIdentifier.default) {
applyGroups { includeDefaultGroups() }
frontends {
add(...)
}
menuItems {
addLast(...)
}
}
}
}
}

This creates the "Default" IVI instance with the default frontends and menu items, and adds a frontend and a menu item.

When no IviInstanceContainers are configured, the default IVI instance configuration will be used for the IviInstanceIdentifier.default IVI instance. Gradle plugins can define the default configuration.