Skip to content

Commit

Permalink
Fix archunit (#9234)
Browse files Browse the repository at this point in the history
* 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] <support@github.com>

* Fix archunit

* remove from module patHh

* checkstyle

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
  • Loading branch information
Siedlerchr and dependabot[bot] authored Oct 10, 2022
1 parent dad5836 commit 0105e62
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -211,8 +211,8 @@ dependencies {
testImplementation 'org.mockito:mockito-core:4.8.0'
testImplementation 'org.xmlunit:xmlunit-core:2.9.0'
testImplementation 'org.xmlunit:xmlunit-matchers:2.9.0'
testRuntimeOnly 'com.tngtech.archunit:archunit-junit5-engine:0.23.1'
testImplementation 'com.tngtech.archunit:archunit-junit5-api:0.23.1'
testRuntimeOnly 'com.tngtech.archunit:archunit-junit5-engine:1.0.0'
testImplementation 'com.tngtech.archunit:archunit-junit5-api:1.0.0'
testImplementation "org.testfx:testfx-core:4.0.16-alpha"
testImplementation "org.testfx:testfx-junit5:4.0.16-alpha"
testImplementation "org.hamcrest:hamcrest-library:2.2"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ public static void doNotUsePaths(JavaClasses classes) {
@ArchIgnore
// Fails currently
public static void respectLayeredArchitecture(JavaClasses classes) {
layeredArchitecture()
layeredArchitecture().consideringOnlyDependenciesInLayers()
.layer("Gui").definedBy(PACKAGE_ORG_JABREF_GUI)
.layer("Logic").definedBy(PACKAGE_ORG_JABREF_LOGIC)
.layer("Model").definedBy(PACKAGE_ORG_JABREF_MODEL)
Expand Down

0 comments on commit 0105e62

Please sign in to comment.