I'd like to build multiple uber jars from a single project with different main classes. For regular Gradle-based projects, I can just create multiple Jar tasks and set a different mainClass attribute. I think to make this work with compose I'd need to create multiple packageUberJarForCurrentOS tasks somehow. Any idea if that's possible yet?
b
Big Chungus
06/09/2022, 7:00 PM
If jar output is fine for you then just use shadow plugin with custom ShadowJar class. Works just fine for my own CfD projects