Skip to content

Type resolution on multi-module project #6631

Closed Answered by cortinico
shafty023 asked this question in Q&A
Discussion options

You must be logged in to vote

The problem is using either of those will only run detekt on the main module and never includes source code from my subprojects.

If you run ./gradlew detektMain you'll be executing the task called detektMain on all of your submodules. You need to make sure you configure detekt for all the subprojects also. You can check out this template which has Detekt configured: https://github.com/cortinico/kotlin-android-template/

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by cortinico
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