Update Gson to version 2.10.1

Also add it to third_party to easily use it in tests.

Bug: b/289363570
Bug: b/295302135
Change-Id: I84f875d0fc9414f4f9992a6affcc933613b07119
diff --git a/tools/create_local_maven_with_dependencies.py b/tools/create_local_maven_with_dependencies.py
index d6c0dd7..428722f 100755
--- a/tools/create_local_maven_with_dependencies.py
+++ b/tools/create_local_maven_with_dependencies.py
@@ -24,7 +24,7 @@
 KOTLIN_METADATA_VERSION = '0.6.2'
 KOTLIN_VERSION = '1.8.0'
 GUAVA_VERSION = '31.1-jre'
-GSON_VERSION = '2.7'
+GSON_VERSION = '2.10.1'
 JAVASSIST_VERSION = '3.29.2-GA'
 JUNIT_VERSION = '4.13-beta-2'
 MOCKITO_VERSION = '2.10.0'