Skip to content

Commit 2c271f0

Browse files
authored
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
1 parent efd7988 commit 2c271f0

File tree

1 file changed

+7
-2
lines changed

1 file changed

+7
-2
lines changed

client/rest/build.gradle

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -35,8 +35,13 @@ import org.elasticsearch.gradle.precommit.PrecommitTasks
3535
* 2) The *actual* jar that will be used by clients. This has no classifier, contains the rest client src and
3636
* `org.elasticsearch.client`. This jar is the only actual output artifact of this job.
3737
*/
38-
plugins {
39-
id "com.github.johnrengelman.shadow" version "2.0.1"
38+
buildscript {
39+
repositories {
40+
jcenter()
41+
}
42+
dependencies {
43+
classpath 'com.github.jengelman.gradle.plugins:shadow:2.0.1'
44+
}
4045
}
4146

4247
apply plugin: 'elasticsearch.build'

0 commit comments

Comments
 (0)