Created
July 18, 2016 06:01
-
-
Save seanf/a11e2079f643a72a96d361a1d2b4b243 to your computer and use it in GitHub Desktop.
Groovy script to list installed script engines
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import javax.script.ScriptEngineManager; | |
def fs = new ScriptEngineManager().getEngineFactories() | |
fs.forEach{ | |
println "Script Engine: " + it.engineName | |
println "Names: " + it.names | |
println() | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment