Hey there folks, I’m trying to run the Symbol Proc...
# ksp
g
Hey there folks, I’m trying to run the Symbol Processing API on my instrumented tests (androidTest folder) so i can grab their annotation and add all the class names to a file using KSP, but the KSP stuff doesn’t go through the androidTest folder by default, i tried to add it like this:
Copy code
kotlin {
        sourceSets.debug {
            kotlin.srcDirs += 'src/androidTest/java/com/example/project'
        }
    }
But then everything build related starts to fail since we use a lot of testImplementation, Dagger Hilt, etc. So, my question is, by any chance anyone know a way to include test folders in symbol processing (KSP) without adding them as sourceSets?
j
generating for another source set is not yet supported
g
Oh, ok, thanks! Do you know if there are plans to support this kind of stuff?
j
Currently there is no plan, we will have a planning soon, I will note it to see if we want to support this.
g
thanks again!