From a4624810aa9021c3c4eeb5b2bc008724b6b464d4 Mon Sep 17 00:00:00 2001 From: Jilles van Gurp Date: Mon, 9 Sep 2019 17:49:09 +0200 Subject: [PATCH] upgrade to 7.3.1 --- build.gradle | 18 ++++++++++-------- 1 file changed, 10 insertions(+), 8 deletions(-) diff --git a/build.gradle b/build.gradle index 837a231b..733fd58c 100644 --- a/build.gradle +++ b/build.gradle @@ -6,12 +6,12 @@ buildscript { } dependencies { - classpath "org.elasticsearch.gradle:build-tools:7.3.0" + classpath "org.elasticsearch.gradle:build-tools:7.3.1" } } group = 'com.o19s' -version = '1.1.1-es7.3.0' +version = '1.1.2-es7.3.1' apply plugin: 'java' apply plugin: 'idea' @@ -51,10 +51,10 @@ dependencies { compile 'org.ow2.asm:asm:5.0.4' compile 'org.ow2.asm:asm-commons:5.0.4' compile 'org.ow2.asm:asm-tree:5.0.4' - compile 'org.elasticsearch:elasticsearch:7.3.0' + compile 'org.elasticsearch:elasticsearch:7.3.1' compile 'com.o19s:RankyMcRankFace:0.1.1' compile "com.github.spullara.mustache.java:compiler:0.9.3" - testCompile 'org.elasticsearch.test:framework:7.3.0' + testCompile 'org.elasticsearch.test:framework:7.3.1' } @@ -65,12 +65,14 @@ dependencyLicenses { mapping from: /compiler-.*/, to: 'lucene' } -configurations.all { - resolutionStrategy.dependencySubstitution { - substitute project(':rest-api-spec') with module ("org.elasticsearch:rest-api-spec:7.3.0") - } + +// https://github.com/elastic/elasticsearch/issues/45891#issuecomment-525399411 +configurations.restSpec.withDependencies { dependencies -> + dependencies.clear() + dependencies.add(project.dependencies.create("org.elasticsearch:rest-api-spec:7.3.1")) } + // Set to false to not use elasticsearch checkstyle rules checkstyleMain.enabled = true checkstyleTest.enabled = true