KotlinHierarchyTemplate
Defines a hierarchy of KotlinSourceSets in a multiplatform project.
By default, the default template is applied in multiplatform projects (with some exceptions, check Templates.default for more details).
To create a custom template, use the kotlin.applyHierarchyTemplate { }
method.
Types
Link copied to clipboard
object Templates
Pre-defined KotlinSourceSets hierarchy templates.
Functions
Link copied to clipboard
fun KotlinHierarchyTemplate.extend(describe: KotlinHierarchyBuilder.Root.() -> Unit): KotlinHierarchyTemplate
Creates a new KotlinHierarchyTemplate by extending the existing one and using inputs provided via the describe definition.