• gammax

    gammax

    1 year ago
    Also, if you’re on Kotlin 1.4 it won’t work right now. I’ll release a new version later today. Due to how ktfmt loads the AST viewer, you also need to be on Gradle 6.8+ to make everything work 😓
    gammax
    Javier
    10 replies
    Copy to Clipboard
  • Javier

    Javier

    1 year ago
    Really I was thinking to create a feature request about this in the ktfmt repo because the problems I had with spotless, so it is great to it just exists already 😃
    Javier
    gammax
    5 replies
    Copy to Clipboard
  • Javier

    Javier

    1 year ago
    Another question, I like the strict formatting of ktfmt but I want to keep Detekt to find code smell, do you know if some ktfmt formats can do problems with Detekt?
    Javier
    gammax
    3 replies
    Copy to Clipboard
  • Javier

    Javier

    1 year ago
    One question,
    gradlew build
    run check and/or format tasks?
    Javier
    gammax
    4 replies
    Copy to Clipboard
  • Javier

    Javier

    1 year ago
    I am having the same problem I have with Spotless where it doesn’t work the second time I run it, I tried even using the macOS terminal instead of the AS terminal, do you know where can be this problem? I think it is cached somewhere…
    Javier
    1 replies
    Copy to Clipboard
  • gammax

    gammax

    1 year ago
    what’s the problem?
    gammax
    Javier
    41 replies
    Copy to Clipboard
  • Javier

    Javier

    1 year ago
    Hey @gammax, do you think we should add this Slack channel to the README of the project?
    Javier
    gammax
    4 replies
    Copy to Clipboard
  • gammax

    gammax

    1 year ago
    You mean to
    ktfmt-gradle
    ?
    gammax
    Javier
    3 replies
    Copy to Clipboard
  • gammax

    gammax

    1 year ago
    Also @Javier, on the issue tracker you mentioned:
    Yeah, I am using dropbox-style. But currently, there is no way to use it with any Gradle plugin no?
    I’m not sure I follow you there? 🤔 Isn’t that supported with the Gradle plugin?
    gammax
    Javier
    13 replies
    Copy to Clipboard
  • Carmi Grushko

    Carmi Grushko

    1 year ago
    I published v0.21 to maven central, which has a new —kotlinlang-style format, if you want to give it a try. I haven’t had the time to create a proper release on GitHub with examples and all, or to integrate it with the IJ plugin. (Paternity leave 😃 )
    Carmi Grushko
    gammax
    2 replies
    Copy to Clipboard