Repository navigation
v3.1.0
3.1.0 adds a check to the architecture artifact's MVI conventions: under a feature's root, the only packages are content, section and component. mvi and navigation are unchanged.
dependencies {
implementation("com.github.kaleidot725.PulseDesktop:mvi:v3.1.0")
implementation("com.github.kaleidot725.PulseDesktop:navigation:v3.1.0")
testImplementation("com.github.kaleidot725.PulseDesktop:architecture:v3.1.0")
}Checks
| 3.0.0 | 3.1.0 |
|---|---|
assertViewsHaveARole |
assertFeaturePackagesHaveARole — every file in a feature, not only composables, is at its root or under content, section or component |
assertPulseMviConventions now runs assertFeaturePackagesHaveARole. assertViewsHaveARole is deprecated and still available. Files generated under build/generated, such as the Res class of Compose resources, are not checked.
Migrating from 3.0.0
- Move packages of your own under a feature, such as
textorresource, intocomponent; a pure helper such as a label read withstringResourcebelongs there - Replace calls to
assertViewsHaveARolewithassertFeaturePackagesHaveARole
See Architecture checks for the details.