rmuir commented on PR #807:
URL: https://github.com/apache/lucene/pull/807#issuecomment-1103079108

   > I don't know, Mike... Gradle doesn't seem like a tool that you can ever 
make dead-simple (like ant). I like what Robert added but with hacks like that 
a question always pops to my mind of what happens in gradle, internally, if you 
throw an exception from such a block - think throwing an exception from java's 
try-finally that obscures the original cause...
   
   I first tried simply "printing stuff" (not throwing exception). in that case 
you see my "print" before the actual spotless exception text. So I changed it 
to `throw new GradleException` only because it would print my text after the 
spotless exception. If the concern is throwing the exception, maybe we could 
just print stuff. If we added more ascii art around it, it could still work :)


-- 
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: issues-unsubscr...@lucene.apache.org

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