Skip to content

Commit 1ab4746

Browse files
committedNov 4, 2019
Lock okhttp3 UrlConnection to working versions, unlock client
1 parent dbf92e7 commit 1ab4746

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed
 

‎pom.xml

+4-2
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@
3333
<spotbugs.version>3.1.12</spotbugs.version>
3434
<spotbugs-maven-plugin.failOnError>true</spotbugs-maven-plugin.failOnError>
3535
<hamcrest.version>2.2</hamcrest.version>
36-
<okhttp3.version>3.12.3</okhttp3.version>
36+
<okhttp3.version>3.14.2</okhttp3.version>
3737
<okio.version>2.4.1</okio.version>
3838
<jacoco.coverage.target.class>.80</jacoco.coverage.target.class>
3939
<jacoco.coverage.target.method>0.20</jacoco.coverage.target.method>
@@ -280,10 +280,12 @@
280280
<version>${okhttp3.version}</version>
281281
<optional>true</optional>
282282
</dependency>
283+
<!-- This is the last version of okhttp3 that support UrlConnection -->
284+
<!-- The class using this has been deprecated, this dependency can be remove when that class is. -->
283285
<dependency>
284286
<groupId>com.squareup.okhttp3</groupId>
285287
<artifactId>okhttp-urlconnection</artifactId>
286-
<version>${okhttp3.version}</version>
288+
<version>3.12.3</version>
287289
<optional>true</optional>
288290
</dependency>
289291
<dependency>

0 commit comments

Comments
 (0)