| /* |
| * Licensed to the Apache Software Foundation (ASF) under one or more |
| * contributor license agreements. See the NOTICE file distributed with |
| * this work for additional information regarding copyright ownership. |
| * The ASF licenses this file to You under the Apache License, Version 2.0 |
| * (the "License"); you may not use this file except in compliance with |
| * the License. You may obtain a copy of the License at |
| * |
| * http://www.apache.org/licenses/LICENSE-2.0 |
| * |
| * Unless required by applicable law or agreed to in writing, software |
| * distributed under the License is distributed on an "AS IS" BASIS, |
| * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| * See the License for the specific language governing permissions and |
| * limitations under the License. |
| */ |
| |
| apply plugin: 'java-library' |
| |
| description = 'Solr Test Framework' |
| |
| dependencies { |
| // Spotbugs Annotations are only needed for old findbugs |
| // annotation usage like in Zookeeper during compilation time. |
| // It is not included in the release so exclude from checks. |
| compileOnly 'com.github.spotbugs:spotbugs-annotations' |
| permitUnusedDeclared 'com.github.spotbugs:spotbugs-annotations' |
| // Exclude these from jar validation and license checks. |
| configurations.jarValidation { |
| exclude group: "com.github.spotbugs", module: "spotbugs-annotations" |
| } |
| |
| api project(':solr:core') |
| api project(':solr:solrj') |
| implementation project(':solr:solrj-zookeeper') |
| |
| api 'org.apache.lucene:lucene-test-framework' |
| implementation 'org.apache.lucene:lucene-core' |
| implementation 'org.apache.lucene:lucene-queries' |
| implementation 'org.apache.lucene:lucene-suggest' |
| |
| |
| var zkExcludes = { |
| exclude group: "org.apache.yetus", module: "audience-annotations" |
| } |
| |
| implementation('org.apache.zookeeper:zookeeper', zkExcludes) |
| implementation('org.apache.zookeeper:zookeeper-jute', zkExcludes) |
| implementation('org.apache.zookeeper:zookeeper::tests', zkExcludes) |
| |
| implementation 'commons-io:commons-io' |
| implementation 'org.slf4j:slf4j-api' |
| implementation 'org.apache.logging.log4j:log4j-api' |
| implementation 'org.apache.logging.log4j:log4j-core' |
| implementation 'io.opentracing:opentracing-noop' |
| implementation 'io.opentracing:opentracing-util' |
| implementation 'io.dropwizard.metrics:metrics-core' |
| implementation 'io.dropwizard.metrics:metrics-jetty10' |
| implementation 'commons-cli:commons-cli' |
| permitUnusedDeclared 'commons-cli:commons-cli' |
| implementation 'org.apache.httpcomponents:httpclient' |
| implementation 'org.apache.httpcomponents:httpcore' |
| |
| implementation 'org.eclipse.jetty.toolchain:jetty-servlet-api' |
| implementation 'org.eclipse.jetty:jetty-server' |
| api 'org.eclipse.jetty:jetty-servlet' |
| implementation 'org.eclipse.jetty:jetty-util' |
| implementation 'org.eclipse.jetty:jetty-alpn-server' |
| runtimeOnly('org.eclipse.jetty:jetty-alpn-java-server', { |
| exclude group: "org.eclipse.jetty.alpn", module: "alpn-api" |
| }) |
| implementation 'org.eclipse.jetty:jetty-rewrite' |
| implementation 'org.eclipse.jetty.http2:http2-server' |
| implementation 'org.eclipse.jetty.http2:http2-common' |
| |
| implementation 'com.carrotsearch.randomizedtesting:randomizedtesting-runner' |
| implementation 'junit:junit' |
| implementation 'org.hamcrest:hamcrest' |
| } |