From ba95ee129e83c34834b0939dae108169968908bd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?A=C3=A9cio=20Santos?= Date: Thu, 28 Mar 2019 20:05:07 -0400 Subject: [PATCH] Upgrade commons-validator and okhttp3 dependencies --- CHANGELOG.md | 4 +++- build.gradle | 6 +++--- 2 files changed, 6 insertions(+), 4 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 6484c1c61..fd0037fcc 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -14,7 +14,9 @@ classifiers documentation page - Added support for crawling via HTTP proxy in okhttp3 fetcher (by @maqzi) - Added tracking of more HTTP error messages (301, 302, 3xx, 402) (by @maqzi) -- Update crawler-commons to v1.0 +- Upgrade `crawler-commons` library to version 1.0 +- Upgrade `commons-validator` library to version 1.6 +- Upgrade `okhttp3` library to version 3.14.0 ## Version 0.11.0 diff --git a/build.gradle b/build.gradle index 56f196d19..ca9b266da 100644 --- a/build.gradle +++ b/build.gradle @@ -24,7 +24,7 @@ dependencies { compile group: 'org.apache.commons', name: 'commons-lang3', version: '3.4' compile group: 'org.apache.commons', name: 'commons-compress', version: '1.12' compile group: 'commons-codec', name: 'commons-codec', version: '1.10' - compile group: 'commons-validator', name: 'commons-validator', version: '1.5.1' + compile group: 'commons-validator', name: 'commons-validator', version: '1.6' compile group: 'com.github.crawler-commons', name: 'crawler-commons', version: '1.0' // CLI compile group: 'io.airlift', name: 'airline', version: '0.7' @@ -55,7 +55,7 @@ dependencies { compile group: 'org.jsoup', name: 'jsoup', version: '1.10.3' compile group: 'org.apache.lucene', name: 'lucene-analyzers-common', version: '7.3.1' // HTTP libraries - compile group: 'com.squareup.okhttp3', name: 'okhttp', version: '3.8.1' + compile group: 'com.squareup.okhttp3', name: 'okhttp', version: '3.14.0' compile group: 'org.apache.httpcomponents', name: 'httpclient', version: '4.5.2' // Others compile group: 'com.github.haifengl', name: 'smile-core', version: '1.5.0' @@ -71,7 +71,7 @@ dependencies { testCompile group: 'org.mockito', name: 'mockito-core', version: '1.10.+' testCompile group: 'org.eclipse.jetty', name: 'jetty-server', version: '9.3.6.v20151106' // for tests of crawler commons library fork - testCompile group: 'com.squareup.okhttp3', name: 'mockwebserver', version: '3.8.1' + testCompile group: 'com.squareup.okhttp3', name: 'mockwebserver', version: '3.14.0' }