|
John Burns and Emily Yuan from Netflix's JVM Ecosystem team detail how they turned ArchUnit (normally a per-repo, JUnit-based architectural-rules tool) into a cross-repo enforcement layer for Netflix's large fleet of Java repositories.
Two new Gradle plugins do the work: an ArchRules Library Plugin for authoring and publishing rules, and an ArchRules Runner Plugin that automatically picks up bundled rules from dependencies. The system runs 358 rules across 5,000+ repositories, detecting nearly 1 million issues (~1,000 of them high-priority), and ships with OSS rule libraries for nullability, Gradle plugin best practices, deprecated Joda/Guava usage, and known-vulnerable APIs.
|