The shape of the Davils libraries for local development with Kreate. It declares every library and the libraries it depends on, and nothing else: no library has to know about its siblings.
Check out this repository next to the libraries, so that kore, konfetti, … and workspace are
siblings, and each library on Kreate 5.7.0 or later. Then:
# A change in kore: republish kore and every library above it, in order.
./gradlew kreateLocalPublishAll --from kore
# Exactly these, nothing downstream.
./gradlew kreateLocalPublishAll --only konfetti,kollect
# What is published locally and how each library is set up.
./gradlew kreateLocalStatusEvery library then builds against the local -local-SNAPSHOT of the libraries below it instead
of their releases. ./gradlew kreateLocalClean in a library removes what it published, and the
builds resolve releases again. CI never resolves a local build; see the
local development safety of Kreate.
| Library | Depends on |
|---|---|
| kore | — |
| kaml, kxml, konfetti | kore |
| kollect | konfetti |
| knot, kontinuity | kollect |
| konnect | knot, kontinuity |
| krypt | konnect |
| katalog | knot, kontinuity |
| konfig | kaml, katalog |
| kheck | konfig, krypt |
| kron | kaml, kheck |
| kontext | kaml, kheck, konnect, krypt |
| kapi | kaml, kxml, krypt |
| kostgres, kredis, kourier | kheck, krypt |
| kvant | krypt |
| kiro | knot |
| kortex | kapi, kontext, kostgres, kredis, kron, kvant, konfig, … |
The table lists the edges that decide the order; build.gradle.kts declares every edge of each
library's version catalog. Logging comes from kore-kheck in Kore, so konfetti, kollect, knot,
kontinuity and konnect do not depend on kheck. kortex and kiro are built locally only and never
take part in a release. Kreate itself stays outside the workspace: every library builds with a
released Kreate.
A library that gains or loses a Davils dependency changes its entry in build.gradle.kts. A
cycle or an edge to an undeclared library fails while the build is configured, and the check of
this repository fails with it.
Apache License 2.0, see LICENSE.