demo This is the tiniest demo of building a runnable jar from gradle for a groovy project. cd gradle-executable-jar-demo gradle testJar java -jar gradle-executable-jar-demo-1.0-test.jar # "Hi from test"