crotwell / gradle-macappbundle

A Gradle Plugin to create a Mac OSX .app application and dmg based on the project.
Apache License 2.0
95 stars 33 forks source link

GradleException #13

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Proper way to throw a gradle exception

Original issue reported on code.google.com by aristede...@gmail.com on 5 Oct 2012 at 6:04

Attachments:

GoogleCodeExporter commented 9 years ago
half applying, the RuntimeExceptions should be GradleExceptions. However, I am 
leaving the setters with a syserr println but putting the value in the correct 
new location. This way current builds that use these items will not break, just 
print a warning, giving users time to transition. In a later version I will 
remove both these items. 

The reason for throwing the exception in the getter is that that is used by the 
plugin, and I want to make sure I transition to the new location internally. 

Kind of odd I know, but temporary, and trying to be less disruptive.    

Original comment by crotwell@seis.sc.edu on 5 Oct 2012 at 1:30