ilya.chernikov
12/27/2016, 10:37 AMeval with bindings is not yet there, but
engine.setBindings(bindings, ScriptContext.ENGINE_SCOPE)
return engine.eval(template) as String
works.
2. bindings are not yet accessible as regular vals from the script, only as a `bindings: Map<String, Any?>, so you can use
"""Title : ${bindings[”title”]}"""