Skip to content

Commit 38ec0ff

Browse files
authored
Make x-pack core pull transport-nio (#32757)
The security nio transports depend on transport-nio. This commit modifies x-pack core to include the transport-nio jar into the x-pack core module.
1 parent 47d2bcc commit 38ec0ff

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

x-pack/plugin/core/build.gradle

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,10 @@ dependencies {
3939
// security deps
4040
shadow 'com.unboundid:unboundid-ldapsdk:3.2.0'
4141
shadow project(path: ':modules:transport-netty4', configuration: 'runtime')
42+
shadow(project(path: ':plugins:transport-nio', configuration: 'runtime')) {
43+
// TODO: core exclusion should not be necessary, since it is a transitive dep of all plugins
44+
exclude group: "org.elasticsearch", module: "elasticsearch-core"
45+
}
4246

4347
testCompile 'org.elasticsearch:securemock:1.2'
4448
testCompile "org.elasticsearch:mocksocket:${versions.mocksocket}"

0 commit comments

Comments
 (0)