You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
auto-value-gson version - 1.3.1
kotlin version - 1.4.21
When the project has two AutoValue classes with the same name but in different packages, the generated TypeAdapterFactory is not deterministic which creates a cache miss in Gradle because of different file contents.
Following are the two different generated TypeAdapterFactory with the same source -
My hunch is that in AutoValueGsonAdapterFactoryProcessor when sorting the elements, we are not considering the package name so in case of same class name, the final order will depend on the order in which those elements were initially present which wouldn't always be the same(?)
auto-value-gson version - 1.3.1
kotlin version - 1.4.21
When the project has two AutoValue classes with the same name but in different packages, the generated TypeAdapterFactory is not deterministic which creates a cache miss in Gradle because of different file contents.
Following are the two different generated TypeAdapterFactory with the same source -
The text was updated successfully, but these errors were encountered: