jerryshao commented on code in PR #7877:
URL: https://github.com/apache/gravitino/pull/7877#discussion_r2287706290


##########
build.gradle.kts:
##########
@@ -273,6 +259,65 @@ subprojects {
     mavenLocal()
   }
 
+  fun CompatibleWithJDK8(project: Project): Boolean {
+    val isReleaseRun = gradle.startParameter.taskNames.any { it == "release" 
|| it == "publish" || it == "publishToMavenLocal" }
+    if (!isReleaseRun) {
+      return false
+    }
+
+    val name = project.name.lowercase()
+    val path = project.path.lowercase()
+
+    if (path.startsWith(":client") ||
+      path.startsWith(":spark-connector") ||
+      path.startsWith(":flink-connector") ||
+      path.startsWith(":bundles")
+    ) {
+      return true
+    }
+
+    if (name == "api" || name == "common" ||
+      name == "catalog-common" || name == "hadoop-common"
+    ) {
+      return true
+    }
+
+    return false
+  }
+
+  tasks.register("printJvm") {
+    group = "help"
+    description = "print JVM information"
+
+    doLast {
+

Review Comment:
   Remove this empty line.



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