This is an automated email from the ASF dual-hosted git repository.
jshao pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/gravitino.git
The following commit(s) were added to refs/heads/main by this push:
new 5c4fa63d2 [#5598] fix(dependency): fix multiple SLF4J providers issue
(#5599)
5c4fa63d2 is described below
commit 5c4fa63d23430f65bb38b0e07fa523fa879303c4
Author: mchades <[email protected]>
AuthorDate: Mon Nov 18 14:03:29 2024 +0800
[#5598] fix(dependency): fix multiple SLF4J providers issue (#5599)
### What changes were proposed in this pull request?
- remove cli dependencies from server lib
### Why are the changes needed?
cli module introduces the slf4j-simple, which is unnecessary
Fix: #5598
### Does this PR introduce _any_ user-facing change?
no
### How was this patch tested?
1. package: `compileDistribution -x test`
2. list the server libs and does not see the jar of slf4j-simple
---
build.gradle.kts | 1 +
1 file changed, 1 insertion(+)
diff --git a/build.gradle.kts b/build.gradle.kts
index d290bd61e..100b243b5 100644
--- a/build.gradle.kts
+++ b/build.gradle.kts
@@ -771,6 +771,7 @@ tasks {
subprojects.forEach() {
if (!it.name.startsWith("catalog") &&
!it.name.startsWith("authorization") &&
+ !it.name.startsWith("cli") &&
!it.name.startsWith("client") && !it.name.startsWith("filesystem") &&
!it.name.startsWith("spark") && !it.name.startsWith("iceberg") && it.name !=
"trino-connector" &&
it.name != "integration-test" && it.name != "bundled-catalog" &&
!it.name.startsWith("flink") &&
it.name != "integration-test" && it.name != "hive-metastore-common" &&
!it.name.startsWith("flink") &&