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.
|
|
|
|
*/
|
|
|
|
|
2021-03-18 19:14:19 -04:00
|
|
|
apply plugin: 'opensearch.build'
|
|
|
|
apply plugin: 'opensearch.publish'
|
|
|
|
apply plugin: 'opensearch.rest-resources'
|
|
|
|
apply plugin: 'opensearch.validate-rest-spec'
|
|
|
|
apply plugin: 'opensearch.yaml-rest-test'
|
2016-04-13 11:26:47 -04:00
|
|
|
|
2020-07-06 15:16:26 -04:00
|
|
|
restResources {
|
|
|
|
restTests {
|
|
|
|
includeCore '*'
|
|
|
|
}
|
|
|
|
}
|
2020-02-26 09:13:41 -05:00
|
|
|
|
|
|
|
artifacts {
|
|
|
|
restSpecs(new File(projectDir, "src/main/resources/rest-api-spec/api"))
|
|
|
|
restTests(new File(projectDir, "src/main/resources/rest-api-spec/test"))
|
|
|
|
}
|
2020-07-06 15:16:26 -04:00
|
|
|
|
2020-10-12 20:34:21 -04:00
|
|
|
testClusters.all {
|
|
|
|
module ':modules:mapper-extras'
|
|
|
|
}
|
|
|
|
|
2020-07-06 15:16:26 -04:00
|
|
|
test.enabled = false
|
|
|
|
jarHell.enabled = false
|