dimsuz
10/14/2021, 12:37 PMdetektPlugins("path:to:artifact")
.
Gradle sync is finished OK, jar is downloaded and used, but when I run the 'detekt' task it prints an error that detekt-config.yml
contains an unknown property myrulesetname
.
I have rechecked that this published jar has services/path.to.ruleset.Ruleset
file.
What can go wrong? Do I need to add something else to this jar?Brais Gabin
10/14/2021, 12:51 PMconfig:
validation: true
# 1. exclude rule set 'sample' and all its nested members
# 2. exclude every property in every rule under the rule set 'sample'
excludes: "sample.*,sample>.*>.*"
excludes: "your-ruleset-name.*"
dimsuz
10/14/2021, 12:56 PMsrc/main/resources/services/...
instead of src/main/resources/META-INF/services
. Ooops