mingyen066 commented on code in PR #20825:
URL: https://github.com/apache/kafka/pull/20825#discussion_r2579515882


##########
build.gradle:
##########
@@ -875,6 +875,30 @@ subprojects {
       removeUnusedImports()
     }
   }
+
+  tasks.register("checkJsonLicenseHeader") {
+    group = "Verification"
+    description = "Verify ASF License header in JSON files"
+
+    doLast {
+      def asfHeader = 
file("${rootProject.projectDir}/gradle/LICENSE.json").readLines()*.trim()
+      def resDir = file("src/main/resources")

Review Comment:
   The test scope is necessary and has been applied. Thanks.



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