Selaa lähdekoodia

Build: Apply license section in poms only to elasticsearch artifacts (#21757)

Ryan Ernst 9 vuotta sitten
vanhempi
commit
a30f649013
1 muutettua tiedostoa jossa 4 lisäystä ja 0 poistoa
  1. 4 0
      build.gradle

+ 4 - 0
build.gradle

@@ -27,6 +27,10 @@ subprojects {
   group = 'org.elasticsearch'
   version = org.elasticsearch.gradle.VersionProperties.elasticsearch
   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
   plugins.withType(MavenPublishPlugin).whenPluginAdded {