https://kotlinlang.org logo
#ksp
Title
# ksp
g

glureau

01/18/2023, 3:00 PM
Hello! Using KSP 1.7.22-1.0.8, I generate code in commonMain (KMM project) and it works fine, but if I clean and run
testDebugUnit
then the processor is not triggered. My setup:
Copy code
dependencies {
    add("kspCommonMainMetadata", project(":modules:code-generator"))
}
(I've added the build/generated directory in the commonMain sourcesets but not sure it's related.) Is it normal behavior? What am I missing?
t

Ting-Yuan Huang

01/20/2023, 5:13 PM
Can you try a build scan to see how the task dependencies look like?
11 Views