Statically compile the script for groovy version of the app.