From 4b5e595396ede3375da67efa89077f8c6a728202 Mon Sep 17 00:00:00 2001 From: Michael Basnight Date: Thu, 27 Jul 2017 01:54:34 +0000 Subject: [PATCH] Remove the shadow plugin apply in the rest client The low level rest client does not need the shadow plugin applied, it only needs the plugin jar in the classpath, in order to create a ShadowJar task. Relates #25208 --- client/rest/build.gradle | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/client/rest/build.gradle b/client/rest/build.gradle index 75521fca5270c..e828cef4deca5 100644 --- a/client/rest/build.gradle +++ b/client/rest/build.gradle @@ -35,8 +35,13 @@ import org.elasticsearch.gradle.precommit.PrecommitTasks * 2) The *actual* jar that will be used by clients. This has no classifier, contains the rest client src and * `org.elasticsearch.client`. This jar is the only actual output artifact of this job. */ -plugins { - id "com.github.johnrengelman.shadow" version "2.0.1" +buildscript { + repositories { + jcenter() + } + dependencies { + classpath 'com.github.jengelman.gradle.plugins:shadow:2.0.1' + } } apply plugin: 'elasticsearch.build'