Gradle Tasks
Kanvas adds lifecycle and diagnostic tasks to the project.
| Task | Purpose |
|---|---|
kanvasDoctor | Check host, JDK, toolchain, backend, target tasks, runtime artifacts, and integration |
kanvasCompatibility | Report detected Compose/Skiko runtime information |
kanvasRuntime | Build or provision the Kanvas runtime |
kanvasRefreshRuntime | Refresh and rebuild the runtime |
kanvasBuild | Run the configured application build task |
kanvasRun | Launch the application with Kanvas integration |
kanvasPackage | Build the configured distributable/package task |
Recommended first commands
./gradlew kanvasDoctor
./gradlew kanvasCompatibility
Then:
./gradlew kanvasRun
Doctor vs compatibility
kanvasDoctor is the blocking environment/integration check.
kanvasCompatibility reports what Compose and Skiko runtime Kanvas sees. It is not a blanket renderer certification.