Skip to content

Commit 523c6f7

Browse files
ting-yuanKSP Auto Pick
authored and
KSP Auto Pick
committed
KSP2: clean up legacy incremental code
which was an lefe-over when moving to IncrementalGlobalSearchScope. It also causes a problem when users wire generated outputs to source sets. (cherry picked from commit d095579)
1 parent d026cc4 commit 523c6f7

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

kotlin-analysis-api/src/main/kotlin/com/google/devtools/ksp/impl/KotlinSymbolProcessing.kt

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -218,9 +218,6 @@ class KotlinSymbolProcessing(
218218
if (kspConfig is KSPJvmConfig) {
219219
roots.addAll(kspConfig.javaSourceRoots)
220220
}
221-
roots.forEach {
222-
it.mkdirs()
223-
}
224221
addSourceRoots(roots.map { it.toPath() })
225222
}.apply(::addModule)
226223

0 commit comments

Comments
 (0)