mirror of
https://github.com/honeymoose/OpenSearch.git
synced 2025-02-08 22:14:59 +00:00
Fixes Eclipse build for sql jdbc project (#30114)
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.
This commit is contained in:
parent
0a5a9a2086
commit
c02b895653
@ -45,12 +45,24 @@ jar {
|
|||||||
}
|
}
|
||||||
|
|
||||||
dependencies {
|
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')) {
|
bundled (xpackProject('plugin:sql:sql-shared-client')) {
|
||||||
transitive = false
|
transitive = false
|
||||||
}
|
}
|
||||||
bundled (xpackProject('plugin:sql:sql-proto')) {
|
bundled (xpackProject('plugin:sql:sql-proto')) {
|
||||||
transitive = false
|
transitive = false
|
||||||
}
|
}
|
||||||
|
}
|
||||||
compile (project(':server')) {
|
compile (project(':server')) {
|
||||||
transitive = false
|
transitive = false
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user