ktTemplate

fun ktTemplate(source: Path, context: Map<String, Any?> = emptyMap(), includes: List<Path> = emptyList()): String

Immediately template the file at source.

See also


fun OutputPath.ktTemplate(source: Path, context: Map<String, Any?> = emptyMap()): String