OpenSearch/plugin/security/build.gradle
Lee Hinman 91d1812cb8 Rename x-pack-common -> x-pack-core (elastic/x-pack-elasticsearch#3272)
The folder has to be named 'x-pack-core' (not 'core'), otherwise Gradle flips
out and has circular dependencies.

Relates to elastic/x-pack-elasticsearch#3233

Original commit: elastic/x-pack-elasticsearch@f756e5d356
2017-12-08 14:42:50 -07:00

32 lines
867 B
Groovy

apply plugin: 'elasticsearch.build'
archivesBaseName = 'x-pack-security'
// TODO: enable this once we have tests
test.enabled=false
licenseHeaders.enabled = false
dependencies {
provided "org.elasticsearch:elasticsearch:${version}"
compile "org.elasticsearch:x-pack-core:${version}"
// security deps
compile project(path: ':modules:transport-netty4', configuration: 'runtime')
compile 'com.unboundid:unboundid-ldapsdk:3.2.0'
compile 'org.bouncycastle:bcprov-jdk15on:1.58'
compile 'org.bouncycastle:bcpkix-jdk15on:1.58'
testCompile 'com.google.jimfs:jimfs:1.1'
}
dependencyLicenses {
mapping from: /netty-.*/, to: 'netty'
mapping from: /bc.*/, to: 'bouncycastle'
mapping from: /transport-netty.*/, to: 'elasticsearch'
ignoreSha 'x-pack-core'
ignoreSha 'transport-netty4'
}
parent.bundlePlugin {
from jar
}