kobwebServerJar

fun KotlinJvmTarget.kobwebServerJar(kobwebName: String? = null)(source)

Create a fat jar for use by a Kobweb server.

The Kobweb server loads a single jar which is responsible for providing all functionality backing its server routes.

TODO(#179): Allow configuring DCE for the final server jar.

Parameters

kobwebName

A name to use as the base of the output jar file. If left blank, a name will be created using suggestKobwebProjectName. If you change this later, you should also check your .kobweb/conf.yaml file and update relevant entries.