Skip to content

build(deps): bump com.tngtech.archunit:archunit-junit5 from 1.4.2 to 1.5.0 - #4414

Merged
github-actions[bot] merged 1 commit into
developfrom
dependabot/gradle/com.tngtech.archunit-archunit-junit5-1.5.0
Aug 7, 2026
Merged

github-actions[bot] merged 1 commit into
developfrom
dependabot/gradle/com.tngtech.archunit-archunit-junit5-1.5.0

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Aug 7, 2026

Copy link
Copy Markdown
Contributor

Bumps com.tngtech.archunit:archunit-junit5 from 1.4.2 to 1.5.0.

Release notes

Sourced from com.tngtech.archunit:archunit-junit5's releases.

ArchUnit 1.5.0

Enhancements

Core

  • Support Java 27 / class file major version 71 (#1618)
  • Improve descriptions of JavaAccess.Predicates.originOwner and JavaAccess.Predicates.targetOwner (#1603; thanks to @​StefanGraeber 👋)
  • Expose information on sealed classes via JavaClass: isSealed() and getPermittedSubclasses() (#1677)
  • Consider dependencies from caught exceptions (#1555; thanks to @​bannmann 👋)
  • ImportOption.DoNotIncludeTests and OnlyIncludeTests consider tests in custom Gradle source sets (#1660; thanks to @​Develop-KIM 👋)

Lang

  • ArchConditions offers new ArchCondition<JavaClass> haveAnyDependenciesThat(DescribedPredicate<Dependency>) (#1580; thanks to @​wakingrufus 👋)

Library

  • ArchitectureMetrics.lakosMetrics is computed much more performantly (#1629; thanks to @​ThanosTsiamis 👋)
  • TextFileBasedViolationStore is now thread-safe under parallel test execution (#1656; thanks to @​kelunik 👋)
  • ModuleDependency now provides stable descriptions (#1648; thanks to @​DragonFSKY 👋)

JUnit

Documentation

Internal Improvements

Commits
  • 502d782 prepare release 1.5.0
  • 4f26fcc fix testRelease exec() and task registration for Gradle 9
  • 96af984 add new developers
  • e427828 consolidate POM checks during CI and release
  • a30f6e3 Bump gradle/actions from 6 to 6.2.0
  • a036c08 Bump com.github.ben-manes.versions from 0.57.0 to 0.58.0
  • 24a9d9e Bump actions/setup-java from 5.6.0 to 5.7.0
  • 9944244 detect custom Gradle test source sets in test import options (#1660)
  • 51fd6c9 detect custom Gradle test source sets in test import options
  • 65f4cd3 add support for dependencies from caught exceptions (#1555)
  • Additional commits viewable in compare view

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

Bumps [com.tngtech.archunit:archunit-junit5](https://github.com/TNG/ArchUnit) from 1.4.2 to 1.5.0.
- [Release notes](https://github.com/TNG/ArchUnit/releases)
- [Commits](TNG/ArchUnit@v1.4.2...v1.5.0)

---
updated-dependencies:
- dependency-name: com.tngtech.archunit:archunit-junit5
  dependency-version: 1.5.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot Bot added dependencies Pull requests that update a dependency file java Pull requests that update Java code labels Aug 7, 2026
@github-actions
github-actions Bot enabled auto-merge August 7, 2026 09:43
@sonarqubecloud

sonarqubecloud Bot commented Aug 7, 2026

Copy link
Copy Markdown

@github-actions
github-actions Bot merged commit 2763d94 into develop Aug 7, 2026
34 checks passed
@github-actions
github-actions Bot deleted the dependabot/gradle/com.tngtech.archunit-archunit-junit5-1.5.0 branch August 7, 2026 10:00
@nixel2007

Copy link
Copy Markdown
Member

@claude почему мы используем archunit-junit5? У нас же junit 6 в базе. Сделай обновление.

@claude

claude Bot commented Aug 7, 2026 •

Copy link
Copy Markdown

Claude finished @nixel2007's task in 2m 58s —— View job


Задача

  • Разобраться, почему используется archunit-junit5, и какая версия JUnit используется в проекте
  • Проверить, поддерживает ли новая версия ArchUnit (1.5.0) модуль archunit-junit6
  • Обновить build.gradle.kts на archunit-junit6
  • Собрать/прогнать тесты, использующие archunit — не удалось, см. примечание ниже
  • Запушить изменения — не удалось, см. примечание ниже

Ответ

Проект использовал archunit-junit5, потому что до релиза ArchUnit 1.5.0 отдельного модуля под
JUnit 6 не существовало — archunit-junit5 был единственным доступным вариантом для JUnit Jupiter
(и продолжал работать, так как API JUnit 5/6 Jupiter в целом совместимы). В этом релизе (см. changelog
в описании PR, раздел «JUnit») появился отдельный модуль archunit-junit6, собранный специально под
JUnit 6.

Изменил build.gradle.kts (строка 179):

-    testImplementation("com.tngtech.archunit:archunit-junit5:1.5.0")
+    testImplementation("com.tngtech.archunit:archunit-junit6:1.5.0")

API аннотаций (@AnalyzeClasses, @ArchTest и т.д.), используемых в ArchitectureTest.java,
не изменилось, поэтому правки исходников тестов не потребовались.

⚠️ Проблемы окружения

  1. Не удалось прогнать сборку/тесты. Команда ./gradlew в этой сессии блокируется политикой
    инструментов («This command requires approval» без возможности подтверждения в автоматическом
    режиме) — не смог локально прогнать ./gradlew test --tests "*ArchitectureTest", чтобы
    подтвердить совместимость.
  2. Не удалось запушить коммит. Изменение закоммичено локально в ветке
    claude/pr-4414-20260807-1810, но git push вернул 403 Permission to 1c-syntax/bsl-language-server.git denied to github-actions[bot] —
    у токена этого запуска нет прав записи в репозиторий (вероятно, потому что исходный PR build(deps): bump com.tngtech.archunit:archunit-junit5 from 1.4.2 to 1.5.0 #4414 уже
    смёржен, и right-scoped токен для такого события не выдаётся).

Пожалуйста, примените патч выше вручную (или повторно вызовите @claude в контексте, где у токена
есть права на push) — тогда я смогу довести дело до PR и попробовать прогнать тесты.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file java Pull requests that update Java code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant