Join Slack
Powered by
Looking at the CLI again I was wondering how do yo...
# detekt
s
sanogueralorenzo
03/31/2020, 4:55 AM
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
04/01/2020, 8:44 PM
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
.
3
Views
Open in Slack
Previous
Next