2017-12-08 11:41:32 -05:00
|
|
|
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}"
|
|
|
|
|
2017-12-12 15:23:29 -05:00
|
|
|
compile "org.elasticsearch.plugin:x-pack-core:${version}"
|
2017-12-08 11:41:32 -05:00
|
|
|
// 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 {
|
2017-12-08 16:42:50 -05:00
|
|
|
mapping from: /netty-.*/, to: 'netty'
|
|
|
|
mapping from: /bc.*/, to: 'bouncycastle'
|
|
|
|
mapping from: /transport-netty.*/, to: 'elasticsearch'
|
|
|
|
ignoreSha 'x-pack-core'
|
|
|
|
ignoreSha 'transport-netty4'
|
2017-12-08 11:41:32 -05:00
|
|
|
}
|
|
|
|
|
|
|
|
parent.bundlePlugin {
|
|
|
|
from jar
|
|
|
|
}
|