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

gradle-plugin should support custom reporters #1472

Open
Tracked by #1806
petertrr opened this issue Jul 22, 2022 · 2 comments
Open
Tracked by #1806

gradle-plugin should support custom reporters #1472

petertrr opened this issue Jul 22, 2022 · 2 comments
Assignees
Labels
backlog enhancement New feature or request plugins Plugins for build systems to allow them to run diktat
Milestone

Comments

@petertrr
Copy link
Member

petertrr commented Jul 22, 2022

We mention this in the README, however this functionality is not implemented (or has been removed at some point). Worth adding and also not very hard.

@petertrr petertrr added the plugins Plugins for build systems to allow them to run diktat label Jul 22, 2022
@0x6675636b796f75676974687562 0x6675636b796f75676974687562 added the enhancement New feature or request label Mar 14, 2023
@0x6675636b796f75676974687562
Copy link
Member

@petertrr, could you please clarify what this issue is about?

Our Gradle plug-in does allow to specify an alternative reporter:

diktat {
    inputs {
        it.include("src/main/kotlin/**/*.kt")
    }
    reporter = "plain" // "html", "json", "plain" (default), "sarif"
    debug = false
}

Or are you referring to the ability to plug in non-standard reporters available to Gradle on the buildscript class path?

@petertrr
Copy link
Member Author

@0x6675636b796f75676974687562 Yes, precisely. We have just a few alternative reporters hard-coded into plugin, and I meant an ability to add those dependencies to dikat configuration and allow ktlint to discover and use them in runtime.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backlog enhancement New feature or request plugins Plugins for build systems to allow them to run diktat
Projects
None yet
Development

No branches or pull requests

4 participants