This is an automated email from the ASF dual-hosted git repository.
gerlowskija pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/solr.git
The following commit(s) were added to refs/heads/main by this push:
new 1bccdf99ebf SOLR-17048: Update solrj dep on 'api' module (#2029)
1bccdf99ebf is described below
commit 1bccdf99ebf08cc2dd9cac046e68d16375683110
Author: Jason Gerlowski <[email protected]>
AuthorDate: Sun Oct 22 21:24:05 2023 -0400
SOLR-17048: Update solrj dep on 'api' module (#2029)
Previously listed as an 'implementation' dependency, this was causing
ClassDefNotFoundExceptions in some client apps that ran afoul of it.
Switching to an 'api' dependency should fix this.
---
solr/solrj/build.gradle | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/solr/solrj/build.gradle b/solr/solrj/build.gradle
index e6bdf9caa0f..286022c728a 100644
--- a/solr/solrj/build.gradle
+++ b/solr/solrj/build.gradle
@@ -30,7 +30,7 @@ description = 'Solrj - Solr Java Client'
dependencies {
implementation 'com.fasterxml.jackson.core:jackson-databind'
implementation 'com.fasterxml.jackson.core:jackson-annotations'
- implementation project(":solr:api")
+ api project(":solr:api")
implementation 'org.slf4j:slf4j-api'
runtimeOnly 'org.slf4j:jcl-over-slf4j'