Skip to content

Commit 2a57603

Browse files
committed
update deps
fix retrofit 2.3.x compatibility, update 3rd party libs to latest minor version
1 parent c1f8f64 commit 2a57603

2 files changed

Lines changed: 7 additions & 6 deletions

File tree

build.gradle

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -53,12 +53,12 @@ dependencies {
5353
testCompile group: 'junit', name: 'junit', version: '4.12'
5454
testCompile group: 'com.squareup.okhttp', name: 'mockwebserver', version: '2.7.5'
5555

56-
compile 'com.squareup.retrofit2:converter-jackson:2.2.0'
57-
compile 'com.squareup.retrofit2:retrofit:2.2.0'
58-
compile 'com.squareup.okhttp3:logging-interceptor:3.7.0'
59-
compile 'jakarta.xml.bind:jakarta.xml.bind-api:2.3.2'
60-
compile 'org.glassfish.jaxb:jaxb-runtime:2.3.2'
61-
compile 'com.auth0:java-jwt:3.10.2'
56+
compile 'com.squareup.retrofit2:converter-jackson:2.11.0'
57+
compile 'com.squareup.retrofit2:retrofit:2.11.0'
58+
compile 'com.squareup.okhttp3:logging-interceptor:3.14.9'
59+
compile 'jakarta.xml.bind:jakarta.xml.bind-api:2.3.3'
60+
compile 'org.glassfish.jaxb:jaxb-runtime:2.3.9'
61+
compile 'com.auth0:java-jwt:3.19.4'
6262
}
6363

6464
javadoc {

src/main/java/com/plivo/api/PlivoClient.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -169,6 +169,7 @@ public PlivoClient(String authId, String authToken, OkHttpClient.Builder httpCli
169169
response = new Response.Builder()
170170
.request(chain.request())
171171
.code(204)
172+
.message("No Content")
172173
.protocol(Protocol.HTTP_1_1)
173174
.body(ResponseBody.create(null, new byte[]{}))
174175
.build();

0 commit comments

Comments
 (0)