Compare commits

...
1 Commits
Author SHA1 Message Date
bskjon bbd8f76f08 Conditional print 2026-10-18 15:49:42 +02:00
+8 -5
View File
@@ -36,11 +36,14 @@ object TsGenerator {
appendLine("// AUTO-GENERATED. DO NOT EDIT.") appendLine("// AUTO-GENERATED. DO NOT EDIT.")
appendLine("// TSGenerator Version: $versionInfo") appendLine("// TSGenerator Version: $versionInfo")
appendLine("// package: $packageName") appendLine("// package: $packageName")
appendLine("// includeClasses:") if (includeClasses.isNotEmpty()) {
includeClasses appendLine("// includeClasses:")
.filter { it.isNotBlank() } includeClasses
.distinct() .filter { it.isNotBlank() }
.forEach { appendLine("//\t$it") } .distinct()
.forEach { appendLine("//\t$it") }
}
appendLine() appendLine()
classes.forEach { cls -> classes.forEach { cls ->