automotiveUiApiKeyConfig
fun IviVariantExtensionDecorator.automotiveUiApiKeyConfig(action: Action<AutomotiveUiApiKeyConfigVariantExtension>)
Executes a configuration block action for an AutomotiveUiApiKeyConfigVariantExtension.
Example In a build.gradle.kts
file:
androidComponents {
onVariants() { variant ->
variant.ivi {
automotiveUiApiKeyConfig {
setApiKey(...)
}
}
}
}
Content copied to clipboard