Hi, I want to use an annotation processor that nee...
# kapt
f
Hi, I want to use an annotation processor that needs to read files from 
src/main/resources
 during the processing. It works fine once I add the following configuration when using java as a source:
Copy code
tasks.withType<JavaCompile> {
    options.sourcepath = files("src/main/resources")
}
I´m now trying to use the same annotation processor with
kotlin
and
kapt
, it however always fails with a file not found exception. So far I did not find the equivalent configuration for options.sourcepath with kotlin/kapt in order for the annotation processor to be able to access the files.