wakingrufus
12/08/2024, 4:23 PMPaul Dingemans
12/08/2024, 5:16 PMPaul Dingemans
12/08/2024, 7:39 PMKtlint -> Kotlin
1.5 -> 2.1
1.4 -> 2.0
1.3 -> 1.9
1.2 -> 1.9
1.1 -> 1.9
1.0 -> 1.9
0.50 -> 1.8
0.46 -> 1.7
0.44 -> 1.6
0.42 -> 1.5
0.38 -> 1.4
0.30 -> 1.3
0.13 -> 1.2
0.6 -> 1.1
0.1 -> 1.0
wakingrufus
12/08/2024, 9:02 PMPaul Dingemans
12/09/2024, 4:56 PM1.9
for sure as that version of the embedded compiler which is included in ktlint 1.0
. But if the project on which ktlint is run does not use any new language elements which have been introduced in 1.9
, nor have been removed from that version, than it is very likely that it (e.g. the ktlint CLI) will run with 1.8
or older as well. For an API consumer the same hold probably true as long the embedded kotlin compiler in ktlint does not conflict with the kotlin compiler used by the API consumer. I really cannot predict that.
Are you facing issues? I know that kotlinter has some issues (see https://github.com/pinterest/ktlint/issues/2882).wakingrufus
12/13/2024, 2:51 PMPaul Dingemans
12/13/2024, 3:49 PM