Sorry for that. I am not sure whether it should be fixed in ktlint-gradle as it is a temporary parameter.
w
wakingrufus
07/03/2023, 8:06 PM
no worries. my code is just
Copy code
val engine = KtLintRuleEngine(
ruleProviders = StandardRuleSetProvider().getRuleProviders()
)
so I didn't have to change it, just recompile it with the new ktlint on the classpath so that it resolves the correct method signature. It seems like something that should just work, but I guess doesnt due to how the kotlin compiler handles optional method parameters. if I used reflection and passed the params in as a map it would have just worked 😕