2011-01-13 09:20:31 -05:00
|
|
|
/*
|
2014-01-06 16:48:02 -05:00
|
|
|
* Licensed to Elasticsearch under one or more contributor
|
|
|
|
* license agreements. See the NOTICE file distributed with
|
|
|
|
* this work for additional information regarding copyright
|
|
|
|
* ownership. Elasticsearch 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
|
2011-01-13 09:20:31 -05:00
|
|
|
*
|
2014-01-10 15:27:01 -05:00
|
|
|
* http://www.apache.org/licenses/LICENSE-2.0
|
2011-01-13 09:20:31 -05:00
|
|
|
*
|
|
|
|
* 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.
|
|
|
|
*/
|
|
|
|
|
2016-05-20 17:53:51 -04:00
|
|
|
esplugin {
|
2019-11-14 06:01:23 -05:00
|
|
|
description 'Percolator module adds capability to index queries and query these queries by specifying documents'
|
|
|
|
classname 'org.elasticsearch.percolator.PercolatorPlugin'
|
|
|
|
hasClientJar = true
|
2011-01-13 09:20:31 -05:00
|
|
|
}
|
2016-05-20 17:53:51 -04:00
|
|
|
|
2017-05-12 09:58:06 -04:00
|
|
|
dependencies {
|
2019-11-14 06:01:23 -05:00
|
|
|
testCompile project(path: ':modules:parent-join', configuration: 'runtime')
|
2020-04-07 19:30:58 -04:00
|
|
|
testCompile project(path: ':modules:geo', configuration: 'runtime')
|
|
|
|
}
|
|
|
|
|
|
|
|
tasks.named('integTestRunner').configure {
|
|
|
|
exclude '**/PercolatorQuerySearchIT.class'
|
|
|
|
}
|
|
|
|
|
|
|
|
tasks.register('internalClusterTest', Test) {
|
|
|
|
include '**/PercolatorQuerySearchIT.class'
|
|
|
|
}
|
|
|
|
|
|
|
|
tasks.named('check').configure {
|
|
|
|
dependsOn 'internalClusterTest'
|
2017-05-12 09:58:06 -04:00
|
|
|
}
|
2017-09-13 11:58:53 -04:00
|
|
|
|
2020-03-19 13:28:59 -04:00
|
|
|
restResources {
|
|
|
|
restApi {
|
2020-04-07 19:30:58 -04:00
|
|
|
includeCore '_common', 'indices', 'index', 'search', 'msearch'
|
2020-03-19 13:28:59 -04:00
|
|
|
}
|
|
|
|
}
|
2020-04-07 19:30:58 -04:00
|
|
|
|
2017-09-13 11:58:53 -04:00
|
|
|
dependencyLicenses {
|
|
|
|
// Don't check the client's license. We know it.
|
|
|
|
dependencies = project.configurations.runtime.fileCollection {
|
|
|
|
it.group.startsWith('org.elasticsearch') == false
|
2018-02-09 14:30:24 -05:00
|
|
|
} - project.configurations.compileOnly
|
2017-09-13 11:58:53 -04:00
|
|
|
}
|