Resolution order
For a selected flavor without a target, values resolve in this priority order:
- Custom config flavor value, highest priority
- Custom config top-level default value
- Base config flavor value
- Base config top-level default value, lowest priority
When a target is selected through target-specific source generation or explainKayanConfig --target, values resolve in this
priority order:
- Custom config flavor target value
- Custom config flavor value
- Custom config top-level target value
- Custom config top-level default value
- Base config flavor target value
- Base config flavor value
- Base config top-level target value
- Base config top-level default value
If a schema entry is marked required, it must resolve to a non-null value for the
selected flavor and optional target or the build fails.
The first layer that defines the key wins, including an explicit null for a
nullable entry. Use explainKayanConfig to print
the winning source file, layer, and key path for each declared key.
