Just started a kotlin full-stack project from IDEA; What gradle task do I run to make it build the entire project as one jar, and where should I put the assets and such?
r
rnett
08/31/2021, 6:54 PM
Do you want the JS code in that jar? You should be able to use
jvmJar
to build the jvm jar, but be aware it doesn't include dependencies (use the
shadow
plugin for that).
m
martmists
08/31/2021, 10:21 PM
Ideally the jvmJar (or any jar for that matter) would work as a single-file deployment