Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for GroovyShell (0.12 sec)

  1. subprojects/core/src/testFixtures/groovy/org/gradle/util/TestUtil.groovy

                .build()
        }
    
        static groovy.lang.Script createScript(String code) {
            new GroovyShell().parse(code)
        }
    
        static Object call(String text, Object... params) {
            toClosure(text).call(*params)
        }
    
        static Closure toClosure(String text) {
            return new GroovyShell().evaluate("return " + text)
        }
    
        static Closure toClosure(TestClosure closure) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon May 27 12:34:44 UTC 2024
    - 13.2K bytes
    - Viewed (0)
Back to top