Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fat-Jar version of detekt-generator module #5297

Merged
merged 3 commits into from Sep 15, 2022

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
21 checks passed
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.

None yet

3 participants