kennknowles commented on PR #40450:
URL: https://github.com/apache/beam/pull/40450#issuecomment-6147443669

   Note:`permitUnusedDeclared` and `permitUsedUndeclared` are everywhere in the 
codebase because we added dependency checking and had someone just suppress all 
the warnings while we take care of them a little at a time. We should assume 
that these are just signs of incorrect deps, until each case has been analyzed.
   
   Since gradle does not have any concept of `provided` we already roll our own 
and can use that where we need to (FWIW the reason Gradle doesn't have it is 
that it is highly questionable). That is different than `runtimeOnly` which 
maps exactly to maven's `runtime` scope. All the various suppressions are 
probably allowing a lot of deps to just be specified wrong and have surprising 
downstream effects once in a while.


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