Second question, when I am developing a custom rul...
# ktlint
d
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
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
I’ve opened an issue for this and asked on the gradle slack, it looks like a classpath caching issue in the ktlint plugin