File tree 1 file changed +2
-2
lines changed
buildSrc/src/main/groovy/org/elasticsearch/gradle/plugin
1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -151,8 +151,8 @@ class PluginBuildPlugin implements Plugin<Project> {
151
151
// always configure publishing for client jars
152
152
project. plugins. apply(MavenScmPlugin . class)
153
153
project. publishing. publications. nebula(MavenPublication ). artifactId(extension. name + " -client" )
154
- project. tasks. withType(GenerateMavenPom . class) { GenerateMavenPom generatePOMTask ->
155
- generatePOMTask. ext . pomFileName = " ${ project.archivesBaseName} -client-${ project.versions.elasticsearch} .pom"
154
+ project. tasks. withType(GenerateMavenPom . class). configureEach { GenerateMavenPom generatePOMTask ->
155
+ generatePOMTask. destination = " ${ project.buildDir } /distributions/ ${ project.archivesBaseName} -client-${ project.versions.elasticsearch} .pom"
156
156
}
157
157
} else {
158
158
if (project. plugins. hasPlugin(MavenPublishPlugin )) {
You can’t perform that action at this time.
0 commit comments