Skip to content

Commit

Permalink
build(gradle): Fix excluding generated code for Detekt on Windows
Browse files Browse the repository at this point in the history
Signed-off-by: Martin Nonnenmacher <[email protected]>
  • Loading branch information
mnonnenmacher committed Feb 2, 2025
1 parent 50435a4 commit 0040496
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion buildSrc/src/main/kotlin/ort-kotlin-conventions.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -142,7 +142,7 @@ tasks.withType<Detekt>().configureEach detekt@{
if (this != detekt.get()) mustRunAfter(detekt)

exclude {
"/build/generated/" in it.file.absolutePath
"/build/generated/" in it.file.absoluteFile.invariantSeparatorsPath
}

reports {
Expand Down

0 comments on commit 0040496

Please sign in to comment.