exclude variable in Detekt Gradle Plugin? #5140
Unanswered
alexandre-thauvin
asked this question in
Q&A
Replies: 1 comment 1 reply
-
That's correct. A couple of questions:
|
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
HI,
As I saw in the
1.17.0
release note, the source pathstest/java/
andtest/kotlin/
are now checked. As I see in the documentation, it is possible to specify the source paths with the source variable. But is there no way to exclude some source paths (e.g.test/java
andtest/kotlin
) instead of specifyingmain/java
andmain/kotlin
?I tried this following solution with the
exclude("**/test/**)
but my tests are still being checked.I use the
1.19.0
version and here is mydetekt
task:Beta Was this translation helpful? Give feedback.
All reactions