Hello, I am looking to run a groovy script inside Java code, but I have not found many tutorials about this.
I have a line containing a groovy script:
private String processingCode = "def hello_world() { println \"Hello, world!\" }";
I also downloaded the groovy SDK.
What groovy jar should be included in the java project? And how to execute a script in Java?
source share