Adding classpath directory to the end of the classpath

Hello,

The app I’m trying to package up using the “application” plugin requires the directory name of the main library directory to be included. E.g. (see end component)

CLASSPATH="/path/to/lib/jar1.jar:/path/to/lib/jar2.jar:/path/to/lib/"

because there is a properties file in the lib directory but it won’t “see” it unless the lib directory itself is on the classpath. How can I accomplish that? I’ve tried files() but that adds all the files within the directory.

Thanks!

Fred.