瀏覽代碼

SQL: Allow x-content transitive dependencies

Tweak the dependencies - take 2
Relates #82077
Costin Leau 3 年之前
父節點
當前提交
dc1e28b8b4
共有 1 個文件被更改,包括 6 次插入1 次删除
  1. 6 1
      x-pack/plugin/sql/jdbc/build.gradle

+ 6 - 1
x-pack/plugin/sql/jdbc/build.gradle

@@ -17,7 +17,12 @@ dependencies {
   api(xpackProject('plugin:sql:sql-proto')) {
     transitive = false
   }
-  api project(':libs:elasticsearch-x-content')
+  api(project(':libs:elasticsearch-x-content')) {
+      transitive = false
+  }
+  // required by x-content
+  runtimeOnly project(':libs:elasticsearch-core')
+
   api(project(':libs:elasticsearch-geo')) {
     transitive = false
   }