2017-11-18 22:42:57 -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
|
|
|
|
*
|
|
|
|
* 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: 'elasticsearch.build'
|
2017-12-17 11:51:18 -05:00
|
|
|
apply plugin: 'nebula.optional-base'
|
|
|
|
apply plugin: 'nebula.maven-base-publish'
|
|
|
|
|
2017-11-18 22:42:57 -05:00
|
|
|
dependencies {
|
2019-11-14 06:01:23 -05:00
|
|
|
compile 'net.sf.jopt-simple:jopt-simple:5.0.2'
|
|
|
|
compile project(':libs:elasticsearch-core')
|
2017-11-18 22:42:57 -05:00
|
|
|
}
|
|
|
|
|
2019-04-09 14:52:50 -04:00
|
|
|
test.enabled = false
|
2018-01-11 13:30:43 -05:00
|
|
|
// Since CLI does not depend on :server, it cannot run the jarHell task
|
2017-11-18 22:42:57 -05:00
|
|
|
jarHell.enabled = false
|
|
|
|
|
2020-04-15 16:23:55 -04:00
|
|
|
tasks.named('forbiddenApisMain').configure {
|
2019-11-14 06:01:23 -05:00
|
|
|
replaceSignatureFiles 'jdk-signatures'
|
2017-11-18 22:42:57 -05:00
|
|
|
}
|