Navigation

Installation

org.oblyx:oblyx-ktor is the Kotlin HTML DSL binding for the Oblyx components, plus one call to serve their compiled JS and CSS. Add it as a normal Gradle dependency; no plugin, codegen step, or resource copying required on your side.

Gradle Kotlin DSL

Latest Maven Central version
dependencies {
  implementation("org.oblyx:oblyx-ktor:0.1.3")
}

Published on Maven Central. Add the dependency above and it resolves.

Version floors

Taken directly from packages/oblyx-ktor/build.gradle.kts, not assumed:

A consumer on an older Ktor or JVM should upgrade before adding the dependency; nothing in oblyx-ktor is written to tolerate an older toolchain.

What the artifact contains

One module, org.oblyx:oblyx-ktor, carries both the generated DSL builders (see Using the DSL) and the compiled oblyx.js / oblyx.iife.js / oblyx.css bundle as packaged resources. See Serving the assets for the one line of Ktor setup that serves them. There is no separate assets artifact to add.