Skip to content
davils-comPublic

About

The Davils libraries and their edges for local development with Kreate

Resources

Stars

1 star

Watchers

0 watching

Forks

Repository files navigation

Davils workspace

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.

Use

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 kreateLocalStatus

Every 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.

The graph

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.

Changing the graph

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.

License

Apache License 2.0, see LICENSE.

About

The Davils libraries and their edges for local development with Kreate

Resources

Stars

1 star

Watchers

0 watching

Forks

Releases

Packages

Contributors