groovy-jsr223 is the JSR-223 Engine implementation, and it support evaluation of groovy scripts via JSR-223 standard interface.
ScriptEngine scriptEngine = new ScriptEngineManager().getEngineByName("groovy");
<dependency>
<groupId>org.codehaus.groovy</groupId>
<artifactId>groovy-jsr223</artifactId>
<version>2.4.6</version>
</dependency>