Skip to content

Instantly share code, notes, and snippets.

@debasishg
Created April 25, 2010 07:54
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save debasishg/378250 to your computer and use it in GitHub Desktop.
Save debasishg/378250 to your computer and use it in GitHub Desktop.
def dslDef = new File('ClientOrder.groovy').text
def dsl = new File('order.dsl').text
def script = """
${dslDef}
${dsl}
"""
new GroovyShell().evaluate(script)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment