Skip to content

Commit 0105e62

Browse files
Fix archunit (#9234)
* Bump archunit-junit5-api from 0.23.1 to 1.0.0 Bumps [archunit-junit5-api](https://github.com/TNG/ArchUnit) from 0.23.1 to 1.0.0. - [Release notes](https://github.com/TNG/ArchUnit/releases) - [Commits](TNG/ArchUnit@v0.23.1...v1.0.0) --- updated-dependencies: - dependency-name: com.tngtech.archunit:archunit-junit5-api dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <[email protected]> * Fix archunit * remove from module patHh * checkstyle Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
1 parent dad5836 commit 0105e62

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

build.gradle

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -211,8 +211,8 @@ dependencies {
211211
testImplementation 'org.mockito:mockito-core:4.8.0'
212212
testImplementation 'org.xmlunit:xmlunit-core:2.9.0'
213213
testImplementation 'org.xmlunit:xmlunit-matchers:2.9.0'
214-
testRuntimeOnly 'com.tngtech.archunit:archunit-junit5-engine:0.23.1'
215-
testImplementation 'com.tngtech.archunit:archunit-junit5-api:0.23.1'
214+
testRuntimeOnly 'com.tngtech.archunit:archunit-junit5-engine:1.0.0'
215+
testImplementation 'com.tngtech.archunit:archunit-junit5-api:1.0.0'
216216
testImplementation "org.testfx:testfx-core:4.0.16-alpha"
217217
testImplementation "org.testfx:testfx-junit5:4.0.16-alpha"
218218
testImplementation "org.hamcrest:hamcrest-library:2.2"

src/test/java/org/jabref/architecture/MainArchitectureTests.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ public static void doNotUsePaths(JavaClasses classes) {
7272
@ArchIgnore
7373
// Fails currently
7474
public static void respectLayeredArchitecture(JavaClasses classes) {
75-
layeredArchitecture()
75+
layeredArchitecture().consideringOnlyDependenciesInLayers()
7676
.layer("Gui").definedBy(PACKAGE_ORG_JABREF_GUI)
7777
.layer("Logic").definedBy(PACKAGE_ORG_JABREF_LOGIC)
7878
.layer("Model").definedBy(PACKAGE_ORG_JABREF_MODEL)

0 commit comments

Comments
 (0)