2014-08-07 04:48:54 +08:00
|
|
|
/*
|
2021-02-03 05:41:39 +08:00
|
|
|
* Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one
|
|
|
|
* or more contributor license agreements. Licensed under the Elastic License
|
|
|
|
* 2.0 and the Server Side Public License, v 1; you may not use this file except
|
|
|
|
* in compliance with, at your election, the Elastic License 2.0 or the Server
|
|
|
|
* Side Public License, v 1.
|
2014-08-07 04:48:54 +08:00
|
|
|
*/
|
2021-09-23 03:01:26 +08:00
|
|
|
apply plugin: 'elasticsearch.esplugin'
|
2020-07-29 05:43:17 +08:00
|
|
|
apply plugin: 'elasticsearch.yaml-rest-test'
|
2014-08-07 04:48:54 +08:00
|
|
|
|
2018-01-27 00:34:24 +08:00
|
|
|
esplugin {
|
|
|
|
name 'custom-settings'
|
|
|
|
description 'An example plugin showing how to register custom settings'
|
|
|
|
classname 'org.elasticsearch.example.customsettings.ExampleCustomSettingsPlugin'
|
2021-09-23 03:01:26 +08:00
|
|
|
licenseFile rootProject.file('SSPL-1.0+ELASTIC-LICENSE-2.0.txt')
|
2018-08-17 14:41:39 +08:00
|
|
|
noticeFile rootProject.file('NOTICE.txt')
|
2014-08-07 04:48:54 +08:00
|
|
|
}
|
2015-08-11 05:04:45 +08:00
|
|
|
|
2021-09-23 15:45:59 +08:00
|
|
|
testClusters.configureEach {
|
2018-01-27 00:34:24 +08:00
|
|
|
// Adds a setting in the Elasticsearch keystore before running the integration tests
|
2019-05-08 19:00:11 +08:00
|
|
|
keystore 'custom.secured', 'password'
|
|
|
|
}
|
2020-07-29 05:43:17 +08:00
|
|
|
|
2021-12-17 06:08:24 +08:00
|
|
|
dependencies {
|
|
|
|
yamlRestTestRuntimeOnly "org.apache.logging.log4j:log4j-core:${log4jVersion}"
|
|
|
|
}
|