Anyone seen issues with Kotlin + kapt (1, not 2) +...
# kapt
k
Anyone seen issues with Kotlin + kapt (1, not 2) + Dagger 2 and not being able to reference the generated component classes only within Android Studio/IntelliJ? If I do a
./gradlew build
from the command-line, it works, and if I dig into
build/generated/source/kapt/main
, I see my generate component class, but AS marks the class in red because it can't resolve it, because it's within a folder that's excluded (
build/
). I have
kapt { generateStubs = true }
in my build.gradle, as well. To reiterate, it is compiling successfully, AS is just marking the class as not existing because that folder isn't added to the classpath for some reason, I guess