Skip to content

Options of processor

Error checking type

name: ktorgen_check_type

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_check_type", "2")
}

name: ktorgen_print_stacktrace_on_exception

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")
}

More option soon...