Groovy
  1. Groovy
  2. GROOVY-6383

Allow more conditional blocks other than "environments" in ConfigSlurper

    Details

    • Type: Improvement Improvement
    • Status: Closed
    • Priority: Minor Minor
    • Resolution: Fixed
    • Affects Version/s: 2.2.0-beta-2
    • Fix Version/s: 2.3.0-beta-1
    • Component/s: groovy-jdk
    • Labels:
      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.

        Activity

        No work has yet been logged on this issue.

          People

          • Assignee:
            Andres Almiray
            Reporter:
            Andres Almiray
          • Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development