Skip to content

Can we exclude some modules? #1360

Answered by petertrr
xiaoqian0408 asked this question in Q&A
Discussion options

You must be logged in to vote

It really depends on how you apply the plugin. By default, when you apply diktat-gradle-plugin, it only checks Kotlin sources in the project where you apply it. Maybe, you've misconfigured inputs of diktat task so that it captures other sources too. It's really hard to say without seeing your configuration.

Following current Gradle best practices, I would suggest to create a precompiled script plugin with common diktat configuration and apply it only on those gradle modules where you would like it to be.

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by xiaoqian0408
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants