Skip to content

Commit

Permalink
fix gson crash
Browse files Browse the repository at this point in the history
  • Loading branch information
lizongying committed May 26, 2024
1 parent bb38cf5 commit 5a78913
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,9 @@ dependencies {
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-gson:$retrofit2_version") {
exclude group: 'com.google.code.gson', module: 'gson'
}
implementation "com.squareup.retrofit2:converter-protobuf:$retrofit2_version"
implementation "com.squareup.retrofit2:retrofit:$retrofit2_version"

Expand Down

0 comments on commit 5a78913

Please sign in to comment.