rharter / auto-value-gson

AutoValue Extension to add Gson De/Serializer support
Apache License 2.0
607 stars 103 forks source link

Revert Java 7 compatibility #176

Closed jakekdodd closed 6 years ago

jakekdodd commented 6 years ago

@JakeWharton I think these are all of the Java 7 compatibility commits =)

ZacSweers commented 6 years ago

These are for runtime and packaging use

the runtime adapter and annotations are java 7 so they can be embedded in android environments without requiring minSdk 24. Jake's comment in the other PR was regarding requirements during annotation processing, not runtime.

jakekdodd commented 6 years ago

@hzsweers something needs to change or this project will not compile. I can either (a) reopen the original pull request or (b) resubmit this pull request with the Java 7 compatibility limited to the annotations module