This is an automated email from the ASF dual-hosted git repository.

houston pushed a commit to branch branch_9x
in repository https://gitbox.apache.org/repos/asf/solr.git


The following commit(s) were added to refs/heads/branch_9x by this push:
     new a9eb0ac  SOLR-15605: Fix duplicate jars in prometheus-exporter (#563)
a9eb0ac is described below

commit a9eb0ac6214ae918f57ebecf8c471622a3af66df
Author: Houston Putman <[email protected]>
AuthorDate: Tue Jan 25 16:40:20 2022 -0500

    SOLR-15605: Fix duplicate jars in prometheus-exporter (#563)
    
    (cherry picked from commit 14010ae98b68b291e16b2cc9241b50ceb9347297)
---
 solr/modules/prometheus-exporter/build.gradle | 18 ------------------
 1 file changed, 18 deletions(-)

diff --git a/solr/modules/prometheus-exporter/build.gradle 
b/solr/modules/prometheus-exporter/build.gradle
index bcaffed..5493113 100644
--- a/solr/modules/prometheus-exporter/build.gradle
+++ b/solr/modules/prometheus-exporter/build.gradle
@@ -69,22 +69,4 @@ assemblePackaging {
     include "bin/**"
     include "conf/**"
   })
-  // Add all libs except those provided by SolrJ & Logging
-  from ({
-    def externalLibs = configurations.runtimeLibs.copyRecursive { dep ->
-      if (dep instanceof org.gradle.api.artifacts.ProjectDependency) {
-        return !dep.dependencyProject.path.startsWith(":solr")
-      } else {
-        return true
-      }
-    }
-    return externalLibs - 
project(':solr:server').configurations.getByName('libExt')
-  }, {
-    into "lib"
-  })
-
-  // TODO: SOLR-15605 this copy spec has duplicate jars and this fails by 
default in gradle7
-  duplicatesStrategy = 'warn'
-
-  into deps
 }
\ No newline at end of file

Reply via email to