/*
 * 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 Integration with Tika for extracting content from binary file formats such as Microsoft Word and Adobe PDF'

dependencies {
  implementation platform(project(':platform'))
  implementation project(':solr:core')
  implementation project(':solr:solrj')

  implementation libs.apache.lucene.core
  implementation libs.slf4j.api

  implementation libs.apache.poi.poi
  implementation libs.apache.poi.ooxml
  implementation libs.apache.tika.core
  implementation (libs.apache.tika.parsers, {
    exclude group: 'org.apache.cxf', module: 'cxf-rt-rs-client'
    exclude group: 'org.quartz-scheduler', module: 'quartz'
    exclude group: 'xml-apis', module: 'xml-apis'
  })
  implementation (libs.xerces.impl, {
    exclude group: 'xml-apis', module: 'xml-apis'
  })

  testImplementation project(':solr:test-framework')
  testImplementation libs.apache.lucene.testframework
  testImplementation libs.junit.junit
}
