gautamworah96 commented on a change in pull request #108:
URL: https://github.com/apache/lucene/pull/108#discussion_r624567412



##########
File path: gradle/validation/jar-checks.gradle
##########
@@ -242,62 +206,14 @@ subprojects {
     }
   }
 
-  licenses.dependsOn validateJarChecksums, validateJarLicenses
+  licenses.dependsOn validateJarLicenses
 }
 
 // Add top-project level tasks validating dangling files
 // and regenerating dependency checksums.
 
 configure(project(":lucene")) {
   def validationTasks = subprojects.collectMany { it.tasks.matching { it.name 
== "licenses" } }
-  def jarInfoTasks = subprojects.collectMany { it.tasks.matching { it.name == 
"collectJarInfos" } }
-
-  // Update dependency checksums.
-  task updateLicenses() {

Review comment:
       I don't think it will. If we run `./gradlew assemble` it checks whether 
dependencies used in `assemble` are defined in the metadata. If we run 
`./gradlew check` it checks if dependencies of `check` are defined in the 
metadata. As far as I know, our builds mainly use these tasks.
   
   Our build will fail if you run `./gradlew <somenewtask>` with the 
`<somenewtask>` dependencies not added to the metadata file. I'll try this case 
out and get back here..




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

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscr...@lucene.apache.org
For additional commands, e-mail: issues-h...@lucene.apache.org

Reply via email to