Hi team,
I'm using the spotless plugin in my gradle kotlin project. I have used the ktlint and diktat from the spotless.
I have a situation where I need to avoid running the diktat for test files , but run only for src files.
But for ktlint, it has to run on both src and test files.
I have made the below configuration in my build.gradle.kts , but seems like both ktlint & diktat is not happening for test files.
(I want only ktlint to run for the test files)
The problem is more in the Spotless integration than in ktlint itself. I know all about ktlint, but I am not familiar how Spotless integration works. Maybe you can reach out directly to Spotless project?