| /* |
| * 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 = 'Solrj - Solr Java Client' |
| |
| dependencies { |
| api 'org.slf4j:slf4j-api' |
| implementation 'org.slf4j:jcl-over-slf4j' |
| |
| api 'commons-io:commons-io' |
| api 'org.apache.commons:commons-math3' |
| |
| api 'org.eclipse.jetty.http2:http2-client' |
| api 'org.eclipse.jetty.http2:http2-http-client-transport' |
| api 'org.eclipse.jetty:jetty-util' |
| api 'org.eclipse.jetty:jetty-http' |
| api 'org.eclipse.jetty:jetty-alpn-java-client' |
| api 'org.eclipse.jetty:jetty-alpn-client' |
| |
| api('org.apache.httpcomponents:httpmime', { |
| exclude group: "commons-codec", module: "commons-codec" |
| exclude group: "commons-logging", module: "commons-logging" |
| }) |
| |
| api 'io.netty:netty-buffer' |
| api 'io.netty:netty-codec' |
| api 'io.netty:netty-common' |
| api 'io.netty:netty-handler' |
| api 'io.netty:netty-resolver' |
| api 'io.netty:netty-transport' |
| api 'io.netty:netty-transport-native-epoll' |
| api 'io.netty:netty-transport-native-unix-common' |
| |
| api('org.apache.zookeeper:zookeeper', { |
| exclude group: "org.apache.yetus", module: "audience-annotations" |
| exclude group: "io.netty", module: "netty-all" |
| exclude group: "log4j", module: "log4j" |
| exclude group: "org.slf4j", module: "slf4j-log4j12" |
| }) |
| |
| testImplementation project(':solr:test-framework') |
| testImplementation 'org.eclipse.jetty:jetty-webapp' |
| testImplementation ('org.eclipse.jetty:jetty-alpn-java-server', { |
| exclude group: "org.eclipse.jetty.alpn", module: "alpn-api" |
| }) |
| testImplementation 'org.objenesis:objenesis' |
| testImplementation('org.mockito:mockito-core', { |
| exclude group: "net.bytebuddy", module: "byte-buddy-agent" |
| }) |
| testImplementation("org.apache.logging.log4j:log4j-slf4j-impl", { |
| exclude group: "org.apache.logging.log4j", module: "log4j-api" |
| }) |
| testImplementation "org.hsqldb:hsqldb" |
| } |