Skip to content

Commit 7364adf

Browse files
authored
bump autoValueGson and gson versions (#1615)
* bump autoValueGson and gson versions * update changelog * update $Gson$Types to GsonTypes https://github.com/google/gson/releases/tag/gson-parent-2.13.0
1 parent 9776512 commit 7364adf

File tree

3 files changed

+6
-4
lines changed

3 files changed

+6
-4
lines changed

CHANGELOG.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,8 @@ Mapbox welcomes participation and contributions from everyone.
44

55
### main
66

7+
- Updated `auto-value-gson` to version [0.0.3](https://github.com/mapbox/auto-value-gson/releases/tag/mapbox-v0.0.3) and `gson` to version 2.13.1. [#1615](https://github.com/mapbox/mapbox-java/pull/1615)
8+
79
### v7.4.0 - April 11, 2025
810

911
- Added `IntersectionLanes#access` property which provides lane access attributes, such as allowed vehicle types for designated lanes. [#1608](https://github.com/mapbox/mapbox-java/pull/1608)

gradle/dependencies.gradle

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,10 @@ ext {
22

33
version = [
44
autoValue : '1.7',
5-
autoValueGson : '0.0.2',
5+
autoValueGson : '0.0.3',
66
junit : '4.12',
77
annotation : '1.0.0',
8-
gson : '2.8.9',
8+
gson : '2.13.1',
99
retrofit : '2.7.2',
1010
okhttp3 : '4.10.0',
1111
mockito : '4.2.0',

services-geocoding/src/main/java/com/mapbox/api/geocoding/v5/SingleElementSafeListTypeAdapter.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
import com.google.gson.Gson;
44
import com.google.gson.TypeAdapter;
55
import com.google.gson.TypeAdapterFactory;
6-
import com.google.gson.internal.$Gson$Types;
6+
import com.google.gson.internal.GsonTypes;
77
import com.google.gson.reflect.TypeToken;
88
import com.google.gson.stream.JsonReader;
99
import com.google.gson.stream.JsonToken;
@@ -39,7 +39,7 @@ public <T> TypeAdapter<T> create(final Gson gson, final TypeToken<T> typeToken)
3939
return null;
4040
}
4141

42-
final Type elementType = $Gson$Types.getCollectionElementType(typeToken.getType(), rawType);
42+
final Type elementType = GsonTypes.getCollectionElementType(typeToken.getType(), rawType);
4343
final TypeAdapter<?> elementTypeAdapter = gson.getAdapter(TypeToken.get(elementType));
4444

4545
@SuppressWarnings("unchecked")

0 commit comments

Comments
 (0)