configAsKobwebApplication
Convenience method for configuring a kotlin
block with initialization boilerplate used by Kobweb applications.
Parameters
The development name you'd like to use to represent this project. It won't be visible to the end user, but, for example, the final JS output file will use this name. If not specified, 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.
If true, this configuration will also initialize a JVM target which will be used for producing a jar that is used by a Kobweb server.
The name to use for this project's javascript target. For example, this affects the generated Gradle tasks generated for building this project.
The name to use for this project's JVM target. For example, this affects the generated server jar name. This value will be ignored if includeServer is set to false.