Skip to content

armgit / nutch

Public Imported from GitHub
0

Apache Nutch is an extensible and scalable web crawler

NUTCH-2733 protocol-okhttp: add support for Brotli compression (Content-Encoding) - upgrade to okhttp 4.3.2

Sebastian Nagela209946ca8d6
diff --git a/src/plugin/protocol-okhttp/ivy.xml b/src/plugin/protocol-okhttp/ivy.xml
index 14b38d5b8..f1b625663 100644
--- a/src/plugin/protocol-okhttp/ivy.xml
+++ b/src/plugin/protocol-okhttp/ivy.xml
@@ -36,7 +36,7 @@
</publications>
<dependencies>
- <dependency org="com.squareup.okhttp3" name="okhttp" rev="3.14.2"/>
+ <dependency org="com.squareup.okhttp3" name="okhttp" rev="4.3.1"/>
</dependencies>
</ivy-module>
diff --git a/src/plugin/protocol-okhttp/plugin.xml b/src/plugin/protocol-okhttp/plugin.xml
index b8437365d..2ff31e6ce 100755
--- a/src/plugin/protocol-okhttp/plugin.xml
+++ b/src/plugin/protocol-okhttp/plugin.xml
@@ -25,8 +25,11 @@
<library name="protocol-okhttp.jar">
<export name="*"/>
</library>
- <library name="okhttp-3.14.2.jar"/>
- <library name="okio-1.17.2.jar"/>
+ <library name="okhttp-4.3.1.jar"/>
+ <library name="okio-2.4.1.jar"/>
+ <library name="kotlin-stdlib-1.3.61.jar"/>
+ <library name="kotlin-stdlib-common-1.3.61.jar"/>
+ <library name="annotations-13.0.jar"/>
</runtime>
<requires>