Open pcdavid opened 2 years ago
Actually it seems we are building against v2.8.2 from this Orbit repo when building "for Eclipse".
On the web side, the move to Gson 2.9.0 was made in Spring Boot 2.7.0 (M2): https://github.com/spring-projects/spring-boot/releases/tag/v2.7.0-M2
The patch to contribute Gson 2.9.0 into Orbit has been merged. It's available in https://download.eclipse.org/tools/orbit/downloads/drops/I20220706225153/ (and the next M & R builds).
The most recent Orbit release at https://download.eclipse.org/tools/orbit/simrel/orbit-aggregation/release/4.30.0 now includes Gson 2.10.1 (the latest at the moment).
We are currently using Gson 2.8.9, which can have issues in some cases when run under Java 16+: https://github.com/google/gson/issues/1875
Once https://git.eclipse.org/r/c/orbit/orbit-recipes/+/193589 is merged, Gson 2.9.0 will be available in Orbit (in I-builds at first) and we can consume it from our target platform.