Skip to content

Commit

Permalink
update deps
Browse files Browse the repository at this point in the history
fix retrofit 2.3.x compatibility, update 3rd party libs to latest minor version
  • Loading branch information
gbrehmer committed Jun 27, 2024
1 parent c1f8f64 commit 2a57603
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 6 deletions.
12 changes: 6 additions & 6 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -53,12 +53,12 @@ dependencies {
testCompile group: 'junit', name: 'junit', version: '4.12'
testCompile group: 'com.squareup.okhttp', name: 'mockwebserver', version: '2.7.5'

compile 'com.squareup.retrofit2:converter-jackson:2.2.0'
compile 'com.squareup.retrofit2:retrofit:2.2.0'
compile 'com.squareup.okhttp3:logging-interceptor:3.7.0'
compile 'jakarta.xml.bind:jakarta.xml.bind-api:2.3.2'
compile 'org.glassfish.jaxb:jaxb-runtime:2.3.2'
compile 'com.auth0:java-jwt:3.10.2'
compile 'com.squareup.retrofit2:converter-jackson:2.11.0'
compile 'com.squareup.retrofit2:retrofit:2.11.0'
compile 'com.squareup.okhttp3:logging-interceptor:3.14.9'
compile 'jakarta.xml.bind:jakarta.xml.bind-api:2.3.3'
compile 'org.glassfish.jaxb:jaxb-runtime:2.3.9'
compile 'com.auth0:java-jwt:3.19.4'
}

javadoc {
Expand Down
1 change: 1 addition & 0 deletions src/main/java/com/plivo/api/PlivoClient.java
Original file line number Diff line number Diff line change
Expand Up @@ -169,6 +169,7 @@ public PlivoClient(String authId, String authToken, OkHttpClient.Builder httpCli
response = new Response.Builder()
.request(chain.request())
.code(204)
.message("No Content")
.protocol(Protocol.HTTP_1_1)
.body(ResponseBody.create(null, new byte[]{}))
.build();
Expand Down

0 comments on commit 2a57603

Please sign in to comment.