Files
AndroidJetpack/kobweb/tools/gradle-plugins/worker/README.md
T
coco 723ce1af5c a
2026-07-03 15:12:48 +08:00

9 lines
605 B
Markdown

A Gradle plugin which, when applied, allows Kobweb to understand a worker model, generating relevant code and building
the final artifact in such a way that the application can easily extract and run the worker.
* A worker module is expected to contain a single `WorkerFactory` implementation. This implementation will be used to
generate an associated `Worker` class.
* The parsing of the `WorkerFactory` implementation is handled by a KSP processor.
* This Gradle plugin will bundle a worker script into the final artifact (i.e. klib), which allows the Kobweb
Application Gradle plugin to find it.