Bradley Campbell
Bradley Campbell
I just set up a project with those exact gradle files and it worked :/ Got a reproducible sample I could dl?
Others have raised issues like this before too, but I've never been able to reproduce it. If you have a sample project I can look into on github I'll investigate
Just downloaded the sample and ran it with no issues. What's your setup? I'm on a MacBook Pro, Kotlin 1.1.61 (matching plugin), Android Studio 3.0.1 (using the embedded JDK), using...
Hmm, I wonder why. It looks like it is declared as an API dependency https://github.com/grandstaish/paperparcel/blob/master/paperparcel/build.gradle#L30
I've seen that with other libraries before, but I can't remember what fixed it :sweat:. Perhaps clear your Android Studio caches and restart? Doesn't sound like there's an issue with...
Weird, are the dagger files generated in the same location you mentioned? (i.e. `$library/build/generated/source/kapt/release/$packages_path`) You're using kapt for both dagger and paperparcel right?
Any chance you have a sample project you could share?
Could you share your `build.gradle` + annotated class? Also, is the annotated class in the same module as where you define the processor in `build.gradle`?
Super weird. Is that using instant run, or something else that might not trigger the annotation processor to run? Sometimes you might need to use Android Studio's `Build -> Rebuild...
Do you have any other errors at all in the console? This could happen if _any_ annotation processor fails, i.e. if you have a Dagger error then the PaperParcelXXX classes...