From 2c271f0f222b47ecba4aa68c887eb5f5e36f5050 Mon Sep 17 00:00:00 2001 From: Michael Basnight Date: Thu, 27 Jul 2017 09:22:18 -0500 Subject: [PATCH] Remove the shadow plugin apply in the rest client (#25921) 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 75521fca527..e828cef4dec 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'