Skip to content

Make KtlintModule functionality available to tasks #6920

@viluon

Description

@viluon

Currently, the KtlintModule defines Commands and keeps the core functionality of running ktlint private. This makes it challenging to use ktlint in tasks (with proper caching and whatnot) without reimplementing a chunk of what KtlintModule already does.

See also #6917 (comment)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions