mirror of
https://github.com/honeymoose/OpenSearch.git
synced 2025-02-18 02:44:49 +00:00
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
32 lines
867 B
Groovy
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
|
|
}
|