Currently when we specify:
mainClassName = “com.mycompany.MyProgram”
and run ‘gradle installApp’, it creates a jarfile under ‘lib’, and launches the CreateStartScripts task to create launcher scripts for that main function.
It’s common in java projects to have multiple classes with main functions.
Suppose mainClassName could accept a list of values… then gradle could build one jarfile, and launch CreateStartScripts once per main function. You could then easily create one distribution containing multiple applications.
Does that seem useful and/or appropriate?