Build: Apply license section in poms only to elasticsearch artifacts (#21757)
This commit is contained in:
parent
c3ec8e22b8
commit
a30f649013
|
@ -27,6 +27,10 @@ subprojects {
|
||||||
group = 'org.elasticsearch'
|
group = 'org.elasticsearch'
|
||||||
version = org.elasticsearch.gradle.VersionProperties.elasticsearch
|
version = org.elasticsearch.gradle.VersionProperties.elasticsearch
|
||||||
description = "Elasticsearch subproject ${project.path}"
|
description = "Elasticsearch subproject ${project.path}"
|
||||||
|
}
|
||||||
|
|
||||||
|
// setup pom license info, but only for artifacts that are part of elasticsearch
|
||||||
|
configure(subprojects.findAll { it.path.startsWith(':x-plugins') == false }) {
|
||||||
|
|
||||||
// we only use maven publish to add tasks for pom generation
|
// we only use maven publish to add tasks for pom generation
|
||||||
plugins.withType(MavenPublishPlugin).whenPluginAdded {
|
plugins.withType(MavenPublishPlugin).whenPluginAdded {
|
||||||
|
|
Loading…
Reference in New Issue