Skip to content

armgit / solr

Public Imported from GitHub
0

Apache Solr open-source search software

SOLR-15955: Fix dependency in hadoop-auth (#1204)

Houston Putmanc4f15e31befd
diff --git a/solr/modules/hadoop-auth/build.gradle b/solr/modules/hadoop-auth/build.gradle
index 93d1ae6a4ba..07867619401 100644
--- a/solr/modules/hadoop-auth/build.gradle
+++ b/solr/modules/hadoop-auth/build.gradle
@@ -36,7 +36,7 @@ dependencies {
implementation 'org.slf4j:slf4j-api'
- compileOnlyApi 'org.eclipse.jetty.toolchain:jetty-servlet-api'
+ api 'org.eclipse.jetty.toolchain:jetty-servlet-api'
implementation 'com.fasterxml.jackson.core:jackson-core'
implementation 'com.google.guava:guava'
@@ -103,7 +103,7 @@ dependencies {
exclude group: "org.apache.yetus", module: "audience-annotations"
})
// required for instantiating a Zookeeper server in tests or embedded
- runtimeOnly ('org.xerial.snappy:snappy-java')
+ testRuntimeOnly ('org.xerial.snappy:snappy-java')
}