https://kotlinlang.org logo
#ktlint
Title
# ktlint
d

David Smith

05/24/2022, 5:05 PM
Second question, when I am developing a custom rule, if I make changes to the rule then run
ktlintMainSourceSetCheck
the old version of the rule is used. The compiled custom rule is cached somewhere but I can’t work out how to remove it
s

Sha Sha Chu

05/24/2022, 6:46 PM
i'd double check your
dependencies
is set up properly. if you're referencing a .jar file, have you make sure to rebuild the jar?
d

David Smith

05/25/2022, 9:15 AM
I’ve opened an issue for this and asked on the gradle slack, it looks like a classpath caching issue in the ktlint plugin
6 Views