Custom rules for test sourceSet. #6930
MaximSysoev
started this conversation in
General
Replies: 1 comment 6 replies
-
Do you want to run with Type Resolution or without, as the answer is different |
Beta Was this translation helpful? Give feedback.
6 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi everyone!
I have a question about custom rules. I have an android project. I have created my custom rule set. And I want it to run on an androidTest source set.
I have included my module to my detekt convension plugin by this line:
dependencies.add("detektPlugins", dependencies.project(plugin))
And configure task with these source sets:
I want to run regular detekt rules on these source sets, but my custom rules on
src/androidTest/kotlin
.How can I do this?
Beta Was this translation helpful? Give feedback.
All reactions