Explain how you can include a groovy script in another groovy?
Answer Posted / Ashvin Yadav
To include one Groovy script within another, you can use the `@GroovyScript` annotation or the `newgroovy.util.GroovyShell` class. With the annotation, you place the included script as a separate .groovy file and import it using the `import` keyword. With `GroovyShell`, you load the included script dynamically.
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
No New Questions to Answer in this Category !! You can
Post New Questions
Answer Questions in Different Category