Skip to content

Commit

Permalink
Relax migrations
Browse files Browse the repository at this point in the history
  • Loading branch information
koppor committed Sep 12, 2024
1 parent 7adffe9 commit 505b22d
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,7 @@ public void respectLayeredArchitecture(JavaClasses classes) {
.layer(Migrations).definedBy("org.jabref.migrations..") // TODO: Move to logic
.layer(Preferences).definedBy("org.jabref.preferences..")

.whereLayer(GUI).mayOnlyBeAccessedByLayers(CLI)
.whereLayer(GUI).mayOnlyBeAccessedByLayers(CLI, Migrations)
.whereLayer(Logic).mayOnlyBeAccessedByLayers(GUI, CLI, Model, Migrations, Preferences)
.whereLayer(Model).mayOnlyBeAccessedByLayers(GUI, Logic, Migrations, CLI, Preferences)
.whereLayer(CLI).mayNotBeAccessedByAnyLayer()
Expand Down

0 comments on commit 505b22d

Please sign in to comment.