roryqi commented on code in PR #10386:
URL: https://github.com/apache/gravitino/pull/10386#discussion_r2918546541


##########
build.gradle.kts:
##########
@@ -1073,10 +1073,13 @@ tasks {
         it.parent?.name != "maintenance" &&
         it.name != "mcp-server"
       ) {
-        from(it.configurations.runtimeClasspath)
+        from(it.configurations.runtimeClasspath) {
+          exclude("error_prone_annotations-*.jar")
+        }
         into("distribution/package/libs")
       }
     }
+    setDuplicatesStrategy(DuplicatesStrategy.EXCLUDE)

Review Comment:
   * What went wrong:
   Execution failed for task ':copySubprojectDependencies'.
   > Entry commons-collections4-4.4.jar is a duplicate but no duplicate 
handling strategy has been set. Please refer to 
https://docs.gradle.org/8.2/dsl/org.gradle.api.tasks.Copy.html#org.gradle.api.tasks.Copy:duplicatesStrategy
 for details.
   
   



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to