Skip to main content

Tasks and commands

TaskPurposeWhen to use
publishAllToMavenLocalPublishes every io.cstories:* artifact, including the Gradle plugin, to mavenLocal().Run from the CStories repository, before using it in another project.
runCStoriesDesktopRuns the catalog as a desktop application (jvm() target).Everyday local development.
runCStoriesDesktopHotReloadRuns the desktop catalog with hot reload.Active iteration on stories, without restarting the app.
runCStoriesWasmRuns the catalog in the browser (wasmJs target). Add --continuous for watch mode.Validating the web target, or when your module only targets wasmJs.
wasmJsBrowserDistributionProduces the static, production-ready wasmJs distribution.Preparing the catalog for hosting.
cstoriesExportWebPackages the wasmJs distribution as a zip, ready to host anywhere.Sharing or deploying a static build of the catalog.