KotlinHierarchyTemplate

sealed interface 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

Creates a new KotlinHierarchyTemplate by extending the existing one and using inputs provided via the describe definition.