Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fat-Jar version of detekt-generator module (#5297)
* Make fat-jar version of detekt-generator This will enable calls through CLI to generate configuration files for custom rules. * Update docs on detekt-generator usage * Update releasing.gradle.kts
- Loading branch information
1 parent
15c19aa
commit e02ac27
Showing
4 changed files
with
23 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
``` | ||
Usage: java -jar detekt-generator-[detekt_version]-all.jar [options] | ||
Options: | ||
--generate-custom-rule-config, -gcrc | ||
Generate custom rules configuration files. The files will be | ||
placed under 'resources' folder of each rule respectively | ||
(e.g. 'custom-rule/src/main/resources/config/config.yml'). | ||
--input, -i | ||
Input paths to rules to analyze. Multiple paths are separated by comma. | ||
``` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters