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'
|
|
|
|
apply plugin: 'nebula.maven-scm'
|
|
|
|
|
2017-11-18 22:42:57 -05:00
|
|
|
dependencies {
|
|
|
|
compile 'net.sf.jopt-simple:jopt-simple:5.0.2'
|
2018-03-15 18:59:23 -04:00
|
|
|
compile "org.elasticsearch:elasticsearch-core:${version}"
|
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
|
|
|
|
|
|
|
|
forbiddenApisMain {
|
2018-08-22 02:05:22 -04:00
|
|
|
replaceSignatureFiles 'jdk-signatures'
|
2017-11-18 22:42:57 -05:00
|
|
|
}
|