Saved Bookmarks
| 1. |
Explain How You Can Include A Groovy Script In Another Groovy? |
|
Answer» You can INCLUDE a groovy script with ANOTHER groovy by using the FOLLOWING code. When put this code at the top of the script it will bring in the contents of a groovy file. EVALUATE(new file(“../tools/Tools.groovy”)) You can include a groovy script with another groovy by using the following code. When put this code at the top of the script it will bring in the contents of a groovy file. Evaluate(new file(“../tools/Tools.groovy”)) |
|