Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

@VitalyVPinchuk
Copy link
Contributor

To finalize #5080

To be able to call detekt-generator through java -jar detek-generator.jar --other-options shadowJar plugin was used in build.gradle.kts.

Docs on usage were also added.

This will enable calls through CLI to generate configuration files for custom rules.
@github-actions
Copy link

github-actions bot commented Sep 14, 2022

Messages
📖

Thank you very much for making our website better ❤️!

Generated by 🚫 dangerJS against a5704f9

@cortinico
Copy link
Member

I think we need to add the .jar also here:

files(
cliBuildDir.resolve("libs/detekt-cli-${project.version}-all.jar"),
cliBuildDir.resolve("distributions/detekt-cli-${project.version}.zip"),
project(":detekt-formatting").buildDir.resolve("libs/detekt-formatting-${project.version}.jar"),
project(":detekt-rules-ruleauthors").buildDir
.resolve("libs/detekt-rules-ruleauthors-${project.version}.jar")
)

@cortinico cortinico added this to the 1.22.0 milestone Sep 15, 2022
@BraisGabin BraisGabin merged commit e02ac27 into detekt:main Sep 15, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants