Plain reporter throws an error: Invalid color parameter.
dibog opened this issue · comments
The com.pinterest.ktlint.reporter.plain.PlainReporter throws an exception as the color is not provided by the com.github.gantsign.maven.plugin.ktlint.internal.MavenLogReporter.
This means that currently the following in the usage documentation does not work:
<reporters>
<reporter>
<name>plain</name>
<output>${project.build.directory}/ktlint.txt</output>
<properties>
<property>
<name>group_by_file</name>
<value>true</value>
</property>
</properties>
</reporter>
</reporters>
Even if I add
<property>
<name>shouldColorOutput</name>
<value>false</value>
</property>
<property>
<name>outputColor</name>
<value>DARK_GRAY</value>
</property>