Details
-
Improvement
-
Status: Closed
-
Minor
-
Resolution: Fixed
-
2.2.0-beta-2
-
None
Description
Since its inception, ConfigSlurper has been a great tool to parse Groovy script as configuration files. As good as it currently is it only allows a single non-configurational conditional block: environments. Enabling custom conditional blocks opens the door for even fine grained configuration where the deciding factor may be the current platform (linux, macosx, etc) or the project's name or some other combination.
This feature has been already tested in Griffon and we'd like to contribute it back to Groovy.