diff --git a/build.gradle b/build.gradle index f9d39d1..510c8c2 100644 --- a/build.gradle +++ b/build.gradle @@ -60,7 +60,16 @@ apply plugin: 'com.github.johnrengelman.shadow' dependencies { compileOnly "org.elasticsearch.client:elasticsearch-rest-high-level-client:${es_version}" testCompile "org.elasticsearch.test:framework:${es_version}" - testCompile group: 'junit', name: 'junit', version: '4.12' + testCompile group: 'junit', name: 'junit', version: '4.13.1' +} + +configurations.all { + if (it.state != Configuration.State.UNRESOLVED) return + resolutionStrategy { + force "com.fasterxml.jackson.dataformat:jackson-dataformat-cbor:2.11.4" + force "org.apache.httpcomponents:httpclient:4.5.13" + force "commons-codec:commons-codec:1.13" + } } spotless {