AppBlock

abstract class AppBlock @Inject constructor(kobwebFolder: KobwebFolder, conf: KobwebConf, baseGenDir: Property<String>) : KobwebBlock.FileGeneratingBlock(source)

A sub-block for defining all properties relevant to a Kobweb application.

Constructors

Link copied to clipboard
@Inject
constructor(kobwebFolder: KobwebFolder, conf: KobwebConf, baseGenDir: Property<String>)

Types

Link copied to clipboard
abstract class ExportBlock @Inject constructor(kobwebFolder: KobwebFolder)

A sub-block for defining properties related to configuring the kobweb export step.

Link copied to clipboard
abstract class IndexBlock @Inject constructor(val basePath: BasePath) : ExtensionAware

A sub-block for defining properties related to the "index.html" document generated by Kobweb

Link copied to clipboard
abstract class ServerBlock : ExtensionAware

Configuration values for the backend of this Kobweb application.

Properties

Link copied to clipboard
abstract val cleanUrls: Property<Boolean>

When true, all URLs will have their .htm and .html suffix automatically removed when the user types it in.

Link copied to clipboard
@get:Input
abstract val cssPrefix: Property<String>

If set, add a prefix to all CSS names generated for this library.

Link copied to clipboard
Link copied to clipboard
abstract val genDir: Property<String>
Link copied to clipboard
abstract val globals: MapProperty<String, String>

A collection of key / value pairs which will be made available within your Kobweb app via AppGlobals.

Link copied to clipboard
Link copied to clipboard

Functions

Link copied to clipboard
@Internal
abstract fun getExtensions(): ExtensionContainer