You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jan 6, 2024. It is now read-only.
I set detekt.sonar.kotlin.config.path to config/detekt/detekt.yml, which works during analysis of app, module1 and module2, but fails for root project - I get an error: Configuration does not exist: <path-to-projects>\config\detekt\detekt.yml which is one directory above my project.
When analysing gradle project with submodules analysis fails for root project - the config file is being looked in a directory above project.
My project structure is:
I set
detekt.sonar.kotlin.config.path
toconfig/detekt/detekt.yml
, which works during analysis of app, module1 and module2, but fails for root project - I get an error:Configuration does not exist: <path-to-projects>\config\detekt\detekt.yml
which is one directory above my project.The logic in
sonar-detekt/src/main/kotlin/io/gitlab/arturbosch/detekt/sonar/sensor/DetektConfiguration.kt
Line 95 in cdb5924
sonar-detekt/src/main/kotlin/io/gitlab/arturbosch/detekt/sonar/sensor/DetektConfiguration.kt
Line 98 in cdb5924
The text was updated successfully, but these errors were encountered: