Options of processor
Strict checking type
name: ktorgen.strict
value type: Int
values:
- 0: Disable error checking
- 1: Raise all warnings and errors
- 2: Convert errors into warnings (default)
Example
ksp {
// optional, additional configuration for KSP
arg("ktorgen.strict", "2")
}
Print Stacktrace on Exceptions
name: ktorgen.print_stacktrace
value type: Boolean (default: false)
Example
ksp {
// to help in debug errors,
// but --stacktrace of Gradle can help with suppressed and caused exception
arg("ktorgen_print_stacktrace_on_exception", "true")
}
Experimental features
name: ktorgen.experimental
value type: Boolean (default: false)
Example
ksp {
arg("ktorgen.experimental", "true")
}
More option soon...