Skip to content

Commit

Permalink
Replace the deprecated setter for the detekt configuration
Browse files Browse the repository at this point in the history
  • Loading branch information
woxtu committed Aug 24, 2023
1 parent ef39e7e commit e3d2471
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ fun Project.setupDetekt(extension: DetektExtension) {
// parallel processing
parallel = true
// detekt configuration file
config = files("${project.rootDir}/config/detekt/detekt.yml")
config.setFrom("${project.rootDir}/config/detekt/detekt.yml")
// baseline configuration file
baseline = file("${project.rootDir}/config/detekt/baseline.xml")
// apply your own configuration file on top of the default settings
Expand Down

0 comments on commit e3d2471

Please sign in to comment.