Skip to content

Latest commit

 

History

History
10 lines (8 loc) · 372 Bytes

File metadata and controls

10 lines (8 loc) · 372 Bytes

scriptjar

This script converts Groovy scripts to JVM executable JAR. It packages all Grab dependencies and Groovy lib, so it can be run without Groovy on target machine. It is also compatible with AWS Lambda. Main class name is the same as original script name. Script detects Groovy location via GROOVY_HOME.

Usage:

./scriptjar.groovy input.groovy output.jar