elasticsearch/distribution/tools/keystore-cli/build.gradle

32 lines
1.4 KiB
Groovy

/*
* 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.
*/
apply plugin: 'elasticsearch.build'
dependencies {
compileOnly project(":server")
compileOnly project(":libs:elasticsearch-cli")
testImplementation project(":test:framework")
testImplementation "com.google.jimfs:jimfs:${versions.jimfs}"
testRuntimeOnly "com.google.guava:guava:${versions.jimfs_guava}"
}
tasks.named('splitPackagesAudit').configure {
// common.settings is owned by server, this should be keystore specifici
ignoreClasses 'org.elasticsearch.common.settings.AddFileKeyStoreCommand',
'org.elasticsearch.common.settings.AddStringKeyStoreCommand',
'org.elasticsearch.common.settings.BaseKeyStoreCommand',
'org.elasticsearch.common.settings.ChangeKeyStorePasswordCommand',
'org.elasticsearch.common.settings.CreateKeyStoreCommand',
'org.elasticsearch.common.settings.HasPasswordKeyStoreCommand',
'org.elasticsearch.common.settings.KeyStoreCli',
'org.elasticsearch.common.settings.ListKeyStoreCommand',
'org.elasticsearch.common.settings.RemoveSettingKeyStoreCommand',
'org.elasticsearch.common.settings.UpgradeKeyStoreCommand'
}