mirror of
https://github.com/honeymoose/OpenSearch.git
synced 2025-02-17 18:35:25 +00:00
All Unit tests in this module are muted in FIPS 140 JVMs and as such the CI run fails. This commit disables test task for the module in a FIPS JVM and reverts adding a dummy test in 4cbcc1.
24 lines
816 B
Groovy
24 lines
816 B
Groovy
apply plugin: 'elasticsearch.build'
|
|
|
|
archivesBaseName = 'elasticsearch-security-cli'
|
|
|
|
dependencies {
|
|
compileOnly "org.elasticsearch:elasticsearch:${version}"
|
|
compileOnly project(path: xpackModule('core'), configuration: 'shadow')
|
|
compile 'org.bouncycastle:bcprov-jdk15on:1.59'
|
|
compile 'org.bouncycastle:bcpkix-jdk15on:1.59'
|
|
testImplementation 'com.google.jimfs:jimfs:1.1'
|
|
testCompile "junit:junit:${versions.junit}"
|
|
testCompile "org.hamcrest:hamcrest-all:${versions.hamcrest}"
|
|
testCompile 'org.elasticsearch:securemock:1.2'
|
|
testCompile "org.elasticsearch.test:framework:${version}"
|
|
testCompile project(path: xpackModule('core'), configuration: 'testArtifacts')
|
|
}
|
|
|
|
dependencyLicenses {
|
|
mapping from: /bc.*/, to: 'bouncycastle'
|
|
}
|
|
|
|
if (inFipsJvm) {
|
|
test.enabled = false
|
|
} |