Skip to content

Commit

Permalink
Add build directory to sonar-exclusions property
Browse files Browse the repository at this point in the history
  • Loading branch information
JavierSegoviaCordoba committed Mar 28, 2024
1 parent e085169 commit a65197d
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
2 changes: 2 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@

### Added

- build directory to `sonar.exclusions` property

### Changed

### Deprecated
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -88,6 +88,7 @@ constructor(
// https://github.com/detekt/detekt/issues/5896
properties.property("sonar.sources", project.kotlinDirs)
properties.property("sonar.tests", project.kotlinTestDirs)
properties.property("sonar.exclusions", "$buildDir/**/*")
}
}
}
Expand Down

0 comments on commit a65197d

Please sign in to comment.