-
Notifications
You must be signed in to change notification settings - Fork 24.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Make x-pack core pull transport-nio #32757
Changes from 3 commits
825537f
b9b3f60
d2f54c6
dc62e9d
b2d0b53
94b29b4
803b11c
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -39,6 +39,17 @@ dependencies { | |
// security deps | ||
shadow 'com.unboundid:unboundid-ldapsdk:3.2.0' | ||
shadow project(path: ':modules:transport-netty4', configuration: 'runtime') | ||
shadow(project(path: ':plugins:transport-nio', configuration: 'runtime')) { | ||
// TODO: This should not be necessary if core is compile only | ||
exclude group: "org.elasticsearch", module: "elasticsearch-core" | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. This looks like a bug in esplugin, that core is not being marked as compileOnly in this case (yet it is for depending on the transport-netty4 module). @atorok can you investigate this and open an issue? @tbrooks8 can you add a TODO/comment here that this should not be necessary |
||
exclude group: "io.netty", module: "netty-buffer" | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. We disable transitive dependencies for anything but There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. transport-nio is under |
||
exclude group: "io.netty", module: "netty-codec" | ||
exclude group: "io.netty", module: "netty-codec-http" | ||
exclude group: "io.netty", module: "netty-common" | ||
exclude group: "io.netty", module: "netty-handler" | ||
exclude group: "io.netty", module: "netty-resolver" | ||
exclude group: "io.netty", module: "netty-transport" | ||
} | ||
|
||
testCompile 'org.elasticsearch:securemock:1.2' | ||
testCompile "org.elasticsearch:mocksocket:${versions.mocksocket}" | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I would expand this comment a bit. Something like:
Also, I wonder if this is due to how we add server as a
compile
dep, but this is shadow here? I wonder if @nik9000's upcoming changes to addbundle
will make this better?