/* * 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 = 'Additional analysis components' dependencies { api project(':solr:core') implementation project(':solr:solrj') implementation 'com.ibm.icu:icu4j' implementation 'org.apache.lucene:lucene-analysis-icu' runtimeOnly 'org.apache.lucene:lucene-analysis-morfologik' implementation 'org.apache.lucene:lucene-analysis-opennlp' runtimeOnly 'org.apache.lucene:lucene-analysis-smartcn' runtimeOnly 'org.apache.lucene:lucene-analysis-stempel' implementation 'org.apache.lucene:lucene-core' // NOTE: Need to stay on same version of opennlp-tools as lucene-analysis-opennlp implementation 'org.apache.opennlp:opennlp-tools' implementation 'org.slf4j:slf4j-api' testImplementation project(':solr:test-framework') testImplementation 'org.apache.lucene:lucene-analysis-common' testImplementation 'commons-io:commons-io' testImplementation 'junit:junit' testImplementation('org.mockito:mockito-core', { exclude group: "net.bytebuddy", module: "byte-buddy-agent" }) testRuntimeOnly('org.mockito:mockito-subclass', { exclude group: "net.bytebuddy", module: "byte-buddy-agent" }) }