Skip to content

[FR]: Replace spotless with Ktlint/Ktfmt #2029

Open

Description

@JoseAlcerreca

Is there an existing issue for this?

  • I have searched the existing issues

Describe the problem

The spotless plugin is creating some build performance issues.

Describe the solution

We should move to ktlint or ktfmt.

Block just shared a timely post: https://engineering.block.xyz/blog/adopting-ktfmt-and-detekt

Additional context

Note that the alternatives don't support everything spotless does, like checking the copyright headers.

Any feedback is welcome

Code of Conduct

  • I agree to follow this project's Code of Conduct

Activity

  1. added
    enhancement
    on Jan 7, 2026
  2. liutikas commented on Feb 25, 2026

    @liutikas
    Collaborator

    We should not use ktlint, we should go with ktfmt.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancement

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions