Fixes Eclipse build for sql jdbc project
The bundled configuration isn't recognised by eclipse so these
dependencies are missed when it imports the `x-pack:plugin:sql:jdbc`
project. This change makes these dependencies compile dependencies if
the build is running for Eclipse.
@@ -45,12 +45,24 @@ jar {
}
dependencies {
+
+ // Eclipse doesn't know how to deal with these bundled deependencies so make them compile
+ // dependencies if we are running in Eclipse
+ if (isEclipse) {
+ compile (xpackProject('plugin:sql:sql-shared-client')) {
+ transitive = false
+ }
+ compile (xpackProject('plugin:sql:sql-proto')) {
+ transitive = false
+ }
+ } else {
bundled (xpackProject('plugin:sql:sql-shared-client')) {
transitive = false
}
bundled (xpackProject('plugin:sql:sql-proto')) {
transitive = false
}
+ }
compile (project(':server')) {
transitive = false
}
