title: Can Gradle fail the build if the jar is too big?
body: <p>What is a good way for gradle to warn the developer that the code/dependency change they’re making makes the built jar too big?</p>
  <p>We’re making updates to a repo that builds a jar that’s deployed in an AWS Lambda function. We are limited to 50MB for the executable. We’d ideally like the devs to get this feedback much before our CI/CD tries to upload to a lambda function and fails.</p>