fix gson crash

This commit is contained in:
Li ZongYing
2024-05-26 20:16:10 +08:00
parent 70da1d8241
commit 51d9c4c2a7
+2
View File
@@ -114,6 +114,8 @@ dependencies {
def retrofit2_version = "2.6.4"
implementation 'com.google.protobuf:protobuf-kotlin:3.25.1'
// Gson 2.10.1 and older: API level 19
implementation("com.google.code.gson:gson:2.10.1")
implementation "com.squareup.retrofit2:converter-gson:$retrofit2_version"
implementation "com.squareup.retrofit2:converter-protobuf:$retrofit2_version"
implementation "com.squareup.retrofit2:retrofit:$retrofit2_version"