Repository navigation
Releases
ArchUnitJava 1.0.0
ArchUnitJava 1.0.0 is available from Maven Central:
<dependency>
<groupId>io.github.tristankruse</groupId>
<artifactId>archunitjava</artifactId>
<version>1.0.0</version>
<scope>test</scope>
</dependency>Requires JDK 25 at runtime; analyzes supported javac bytecode from Java 8–25. This is the independently implemented Java member of ArchUnitEverything, with its own API.
Highlights
- Correct cycle detection retains ordinary method/field evidence. Existing checks may now identify real cycles that 0.1.0 silently missed.
- Iterative cycle traversal handles deep graphs, tested on 10,000-node chains and rings.
- Properties/JUnit configurations support type and package cycle rules with
kind=cycles. - A documented v1 API/schema compatibility contract, API signature gate, opt-in diagnostics, and structured reports.
- Version 1 uses MIT; the immutable 0.1.0 beta retains its original Apache-2.0 metadata.
Release verification
The exact release passed 378 Java tests, API and Javadoc gates. The signed bundle passed Central validation; all 16 checksums and all four signatures were independently verified. The separate RAG consumer passed five tests with an empty Maven cache using public 1.0.0. Public POM/JAR hashes match the reviewed bundle.
Primary JAR SHA-256: b430961c8b51fa09481cd15f4efe2f6a537535d5f04cfcbcd950f96e694a820f.
Documentation · Maven Central · Compatibility · Release evidence
ArchUnitJava 0.1.0 — Public Beta
ArchUnitJava 0.1.0 is the first public release of the independent Java architecture-testing library.
Install
Maven:
<dependency>
<groupId>io.github.tristankruse</groupId>
<artifactId>archunitjava</artifactId>
<version>0.1.0</version>
<scope>test</scope>
</dependency>Gradle:
repositories { mavenCentral() }
dependencies {
testImplementation("io.github.tristankruse:archunitjava:0.1.0")
}Highlights
- Parses Java 8–25 class files and JARs as data without loading target classes.
- Builds an immutable dependency model with selectors, projections, architecture rules, presets,
metrics, and baseline adoption. - Integrates with JUnit Platform, Maven/Gradle builds, a CLI, and machine- and human-readable reports.
- Produces deterministic evidence and graph output while keeping incomplete analysis distinct from
architecture violations. - Applies bounded input, cache, regex, report, archive, and resource controls backed by an
adversarial test corpus.
Release verification
- Signed tag verified with release-key fingerprint
8F7C42989C49216FA75523251BB3BFA38C776312. - Maven Central validated and published
io.github.tristankruse:archunitjava:0.1.0. - The release run completed 347 tests with zero failures or errors.
- Primary, source, Javadoc, and POM signatures were independently verified; all supplied MD5,
SHA-1, SHA-256, and SHA-512 checksums matched. - The independent RAG consumer resolved this public release and passed on Linux and Windows with
JDK 25.
Compatibility
ArchUnitJava 0.1.0 requires JDK 25 at runtime and can analyze javac bytecode targeting Java 8–25.
The API is provisional before 1.0 and is not API-compatible with the established ArchUnit project.
ArchUnitJava is independently implemented and is not affiliated with ArchUnit.
See the documentation,
release evidence, and
external consumer.