Skip to content

Commit 877f768

Browse files
udalovSpace Team
authored andcommitted
Kapt: do not log classpath in verbose mode
#KT-79641 Fixed
1 parent 98e9036 commit 877f768

File tree

1 file changed

+3
-4
lines changed
  • plugins/kapt/kapt-base/src/org/jetbrains/kotlin/kapt/base

1 file changed

+3
-4
lines changed

plugins/kapt/kapt-base/src/org/jetbrains/kotlin/kapt/base/KaptOptions.kt

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -196,18 +196,17 @@ fun KaptOptions.logString(additionalInfo: String = "") = buildString {
196196

197197
appendLine("Annotation processing mode: ${mode.stringValue}")
198198
appendLine("Memory leak detection mode: ${detectMemoryLeaks.stringValue}")
199-
KaptFlag.values().forEach { appendLine(it.description + ": " + this@logString[it]) }
199+
for (flag in KaptFlag.entries) {
200+
appendLine(flag.description + ": " + get(flag))
201+
}
200202

201203
appendLine("Project base dir: $projectBaseDir")
202-
appendLine("Compile classpath: " + compileClasspath.joinToString())
203-
appendLine("Java source roots: " + javaSourceRoots.joinToString())
204204

205205
appendLine("Sources output directory: $sourcesOutputDir")
206206
appendLine("Class files output directory: $classesOutputDir")
207207
appendLine("Stubs output directory: $stubsOutputDir")
208208
appendLine("Incremental data output directory: $incrementalDataOutputDir")
209209

210-
appendLine("Annotation processing classpath: " + processingClasspath.joinToString())
211210
appendLine("Annotation processors: " + processors.joinToString())
212211

213212
appendLine("AP options: $processingOptions")

0 commit comments

Comments
 (0)