sanogueralorenzo

    sanogueralorenzo

    2 years ago
    Looking at the CLI again I was wondering how do you download/generate the latest detekt-formatting jar? Would it be possible to include it in future releases?
    a

    Artur Bosch

    2 years ago
    The same way you download the cli jar 🙂 https://bintray.com/arturbosch/code-analysis/detekt/1.7.2#files/io/gitlab/arturbosch/detekt The formatting jar will stay independent from the core module as a proof of concept on how to write detekt plugins. Also avoiding a hard dependency on KtLint. Maybe our users prefer to use one of the KtLint Gradle plugins or some other way of using it. There are other tools like ktfmt which may conflict with KtLint rules - https://github.com/facebookincubator/ktfmt.