KT-52284 Clarify message in Kapt with K2 error

This commit is contained in:
Simon Ogorodnik
2022-05-17 19:41:49 +02:00
committed by Space
parent 339b604e09
commit e3c7929fee
@@ -71,7 +71,7 @@ class Kapt3CommandLineProcessor : CommandLineProcessor {
if (configuration.getBoolean(CommonConfigurationKeys.USE_FIR)) {
configuration[CLIConfigurationKeys.MESSAGE_COLLECTOR_KEY]?.report(
CompilerMessageSeverity.ERROR,
"kapt currently doesn't support experimental K2 compiler"
"kapt currently doesn't support experimental K2 compiler\nDisable K2 compiler by removing -Xuse-k2 flag"
)
}