Skip to content

Commit

Permalink
Merge pull request #951 from woxtu/detekt-config
Browse files Browse the repository at this point in the history
Replace the deprecated setter for the detekt configuration
  • Loading branch information
takahirom authored Aug 25, 2023
2 parents 1ce187e + e3d2471 commit 71d1500
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 71d1500

Please sign in to comment.