Same as rharter/auto-value-parcel#131: As Gradle 4.7 is out, there had to be an issue for this :)
The documentation to handle this is here.
I think auto-value-gson could implement this? (but I might be wrong as I don't fully understand all the works behind annotation processors).