Hello,
We’re occasionally experiencing CI failures where ktlintFormat fails on empty modules and we haven’t found a workaround yet.
* What went wrong:
Execution failed for task ':features:myModule:loadKtlintReporters'.
> A failure occurred while executing org.jlleitschuh.gradle.ktlint.worker.LoadReportersWorkAction
> com/pinterest/ktlint/cli/reporter/core/api/ReporterProviderV2
Do you have any recommendations?
We apply ktlint and detekt through convention plugins. I’m not sure whether ktlint already skips modules that don’t contain any .kt files but I doubt no. Thanks!
Hello,
We’re occasionally experiencing CI failures where
ktlintFormatfails on empty modules and we haven’t found a workaround yet.Do you have any recommendations?
We apply
ktlintanddetektthrough convention plugins. I’m not sure whetherktlintalready skips modules that don’t contain any.ktfiles but I doubt no. Thanks!