systemProperties

abstract val systemProperties: MapProperty<String, String>(source)

A collection of key / value pairs that will be made available within your Kobweb server via System.getProperty("...").

For example, systemProperties.put("key", "value") would let you write the following code in your Kobweb server:

assertEquals("value", System.getProperty("key"))

You can use this as a simple way to configure your server's behavior from your Kobweb build script.