You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@lucene.apache.org by ma...@apache.org on 2019/06/12 04:59:31 UTC
[lucene-solr] branch jira/SOLR-13452_gradle_3 updated: SOLR-13452:
Make contrib-clustering dependency checker compliant.
This is an automated email from the ASF dual-hosted git repository.
markrmiller pushed a commit to branch jira/SOLR-13452_gradle_3
in repository https://gitbox.apache.org/repos/asf/lucene-solr.git
The following commit(s) were added to refs/heads/jira/SOLR-13452_gradle_3 by this push:
new fab57b5 SOLR-13452: Make contrib-clustering dependency checker compliant.
fab57b5 is described below
commit fab57b51240f7af43b7f8e545c8ec991c09dc992
Author: markrmiller <ma...@apache.org>
AuthorDate: Tue Jun 11 23:59:21 2019 -0500
SOLR-13452: Make contrib-clustering dependency checker compliant.
---
solr/contrib/clustering/build.gradle | 15 +++++++++++++++
1 file changed, 15 insertions(+)
diff --git a/solr/contrib/clustering/build.gradle b/solr/contrib/clustering/build.gradle
index 44e1210..96ec234 100644
--- a/solr/contrib/clustering/build.gradle
+++ b/solr/contrib/clustering/build.gradle
@@ -37,3 +37,18 @@ dependencies {
testImplementation project(':lucene:lucene-test-framework')
testImplementation project(':solr:solr-test-framework')
}
+
+missingDeps {
+
+ classExclude 'org\\.xmlpull\\.v1\\.XmlPullParser.*' // current not brought in, wanted by simple-xml
+
+ // solr-core's excludes
+ Set<String> depExcludes = project(':solr:solr-core').missingDeps.getDepExcludes()
+ for (String exclude : depExcludes) {
+ depExclude exclude
+ }
+ Set<String> classExcludes = project(':solr:solr-core').missingDeps.getClassExcludes()
+ for (String exclude : classExcludes) {
+ classExclude exclude
+ }
+}
\ No newline at end of file