Luca Nicoletti
02/21/2023, 9:58 AMdetekt
and updating a rule (custom), but the rule code is not the latest I have in the file. Any why I can force re-loading the rule when I run ./gradlew detekt
?Brais Gabin
02/21/2023, 11:16 AM./gradlew detekt
? is it UP-TO-DATE
? If so it seems like an issue in your gradle configuration or our plugin../gradlew detekt --rerun-tasks
.Luca Nicoletti
02/21/2023, 11:18 AMWhat is the output of ./gradlew detekt? is it UP-TO-DATE?No, it runs, but, for example, I had
println()
statements in my rule, and after removing them, I can still see them in the terminalBrais Gabin
02/21/2023, 11:19 AM--rerun-tasks
and see if it works.detekt
is not using that file. It could be getting the code from a maven server or something similar.Luca Nicoletti
02/21/2023, 11:23 AMBrais Gabin
02/21/2023, 11:27 AM--rerun-tasks
doesn’t fix your issue.mkrussel
02/21/2023, 1:12 PMgradle --stop
to have fixed this problem for me in the past.Luca Nicoletti
02/24/2023, 10:33 AMSam Pengilly
03/03/2023, 1:23 AM