[KAPT] Add newline after each java compiler log (#4087)
^KT-27123 Fixed
This commit is contained in:
@@ -152,7 +152,7 @@ class KaptJavaLog(
|
|||||||
|
|
||||||
val formattedMessage = diagnosticFormatter.format(diagnostic, javacMessages.currentLocale)
|
val formattedMessage = diagnosticFormatter.format(diagnostic, javacMessages.currentLocale)
|
||||||
.lines()
|
.lines()
|
||||||
.joinToString(LINE_SEPARATOR) { original ->
|
.joinToString(LINE_SEPARATOR, postfix = LINE_SEPARATOR) { original ->
|
||||||
// Kotlin location is put as a sub-diagnostic, so the formatter indents it with four additional spaces (6 in total).
|
// Kotlin location is put as a sub-diagnostic, so the formatter indents it with four additional spaces (6 in total).
|
||||||
// It looks weird, especially in the build log inside IntelliJ, so let's make things a bit better.
|
// It looks weird, especially in the build log inside IntelliJ, so let's make things a bit better.
|
||||||
val trimmed = original.trimStart()
|
val trimmed = original.trimStart()
|
||||||
|
|||||||
Reference in New Issue
Block a user