xunliu commented on code in PR #5725:
URL: https://github.com/apache/gravitino/pull/5725#discussion_r1867169260


##########
clients/cli/build.gradle.kts:
##########
@@ -67,3 +67,14 @@ tasks.jar {
   from(dependencies)
   duplicatesStrategy = DuplicatesStrategy.EXCLUDE
 }
+
+tasks.test {
+  val skipITs = project.hasProperty("skipITs")
+  if (skipITs) {
+    // Exclude integration tests
+    exclude("**/integration/test/**")
+  } else {
+    dependsOn(tasks.jar)

Review Comment:
   hi @mchades 
   We need to add this depends,
   because clients-cli need to compile a `Main-Class` jar.
   
https://github.com/apache/gravitino/blob/main/clients/cli/build.gradle.kts#L59



-- 
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