Created
May 15, 2023 21:22
-
-
Save clebertsuconic/ca4fbda16b1c9e3730e9306505dda15d to your computer and use it in GitHub Desktop.
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
def folder = new File(".") | |
def jars = folder.listFiles({ file -> file.isFile() && file.name.endsWith('.jar') }) | |
def classpath = jars.collect { it.absolutePath }.join(':') | |
println "groovy -cp '" + classpath + "' XA.groovy" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment