2021-04-09 15:28:18 -04:00
|
|
|
/*
|
|
|
|
* SPDX-License-Identifier: Apache-2.0
|
|
|
|
*
|
|
|
|
* The OpenSearch Contributors require contributions made to
|
|
|
|
* this file be licensed under the Apache-2.0 license or a
|
|
|
|
* compatible open source license.
|
|
|
|
*
|
|
|
|
* Modifications Copyright OpenSearch Contributors. See
|
|
|
|
* GitHub history for details.
|
|
|
|
*/
|
|
|
|
|
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.
|
|
|
|
*/
|
2021-03-11 16:07:47 -05:00
|
|
|
apply plugin: 'opensearch.build'
|
2017-12-17 11:51:18 -05:00
|
|
|
apply plugin: 'nebula.optional-base'
|
2021-03-11 16:07:47 -05:00
|
|
|
apply plugin: 'opensearch.publish'
|
2017-12-17 11:51:18 -05:00
|
|
|
|
2017-11-18 22:42:57 -05:00
|
|
|
dependencies {
|
2022-02-18 18:27:51 -05:00
|
|
|
api 'net.sf.jopt-simple:jopt-simple:5.0.4'
|
2021-03-11 16:07:47 -05:00
|
|
|
api project(':libs:opensearch-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
|
|
|
}
|