diff options
author | Ryan Ernst <ryan@iernst.net> | 2016-11-24 00:03:43 -0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2016-11-24 00:03:43 -0800 |
commit | a30f6490133eab6afbad4f9c4620084a18f705b7 (patch) | |
tree | 850afeeb8f74f9fef6f28b4d1d1311b7e01565df /build.gradle | |
parent | c3ec8e22b8008c15e644ac2649ba9e984bd96b29 (diff) |
Build: Apply license section in poms only to elasticsearch artifacts (#21757)
Diffstat (limited to 'build.gradle')
-rw-r--r-- | build.gradle | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/build.gradle b/build.gradle index 2bda78cd1c..ba19a993bd 100644 --- a/build.gradle +++ b/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 { |