2019-01-16 18:52:17 +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.
|
2019-01-16 18:52:17 +08:00
|
|
|
*/
|
2020-05-15 09:56:59 +08:00
|
|
|
apply plugin: "elasticsearch.publish"
|
2019-02-18 14:47:05 +08:00
|
|
|
|
2019-01-16 18:52:17 +08:00
|
|
|
dependencies {
|
2020-06-30 15:37:09 +08:00
|
|
|
api project(':libs:elasticsearch-core')
|
2019-01-16 18:52:17 +08:00
|
|
|
|
2020-06-12 19:34:53 +08:00
|
|
|
testImplementation(project(":test:framework")) {
|
2019-11-13 18:14:04 +08:00
|
|
|
exclude group: 'org.elasticsearch', module: 'elasticsearch-ssl-config'
|
|
|
|
}
|
2019-01-16 18:52:17 +08:00
|
|
|
|
2020-06-12 19:34:53 +08:00
|
|
|
testImplementation "com.carrotsearch.randomizedtesting:randomizedtesting-runner:${versions.randomizedrunner}"
|
|
|
|
testImplementation "junit:junit:${versions.junit}"
|
|
|
|
testImplementation "org.hamcrest:hamcrest:${versions.hamcrest}"
|
2019-01-16 18:52:17 +08:00
|
|
|
}
|
|
|
|
|
2019-02-19 08:17:05 +08:00
|
|
|
|
2020-04-16 04:23:55 +08:00
|
|
|
tasks.named('forbiddenApisMain').configure {
|
2019-11-13 18:14:04 +08:00
|
|
|
replaceSignatureFiles 'jdk-signatures'
|
2019-01-16 18:52:17 +08:00
|
|
|
}
|
2019-02-19 08:17:05 +08:00
|
|
|
|
2020-12-12 23:14:17 +08:00
|
|
|
tasks.named("forbiddenPatterns").configure {
|
2019-11-13 18:14:04 +08:00
|
|
|
exclude '**/*.key'
|
|
|
|
exclude '**/*.pem'
|
|
|
|
exclude '**/*.p12'
|
|
|
|
exclude '**/*.jks'
|
2019-01-16 18:52:17 +08:00
|
|
|
}
|