bluelinelabs / LoganSquare

Screaming fast JSON parsing and serialization library for Android.
Apache License 2.0
3.21k stars 306 forks source link

Incremental annotation processor #234

Open talklittle opened 4 years ago

talklittle commented 4 years ago

I used "aggregating" because Gradle kept doing a full recompilation when I tried "isolating", complaining about the generated MyObject$$JsonObjectMapper having 0 originating elements and expecting exactly one.

I didn't dig very deep into that, because "aggregating" squelches the warning and seems to get incremental compilation working.

https://docs.gradle.org/6.1.1/userguide/java_plugin.html#sec:incremental_annotation_processing