- Open the editor and go to menu
Tools->Build System - This will open a new file named
untitled.sublime-build - Add the path to your Groovy installation directory as show below.
{
"cmd": ["C:/Users/kulkan02/.gvm/groovy/2.3.0/bin/groovy.bat", "$file"]
}