Skip to content

To know a check dependencies between packages and classes, layers and slices, check for cyclic dependencies...

Notifications You must be signed in to change notification settings

pedringcoding/java-gradle-archunit

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Keep your architecture clean with Gradle Awesome

📋 Introduction

ArhUnit is a free, simple and extensible library for checking the architecture of your Java code. That is, ArchUnit can check dependencies between packages and classes, layers and slices, check for cyclic dependencies and more. It does so by analyzing given Java bytecode, importing all classes into a Java code structure. ArchUnit’s main focus is to automatically test architecture and coding rules, using any plain Java unit testing framework.

☁️ Getting Started

Follow along this notes. You will need to have at least Java 8 installed or some openJDK distribution, and Gradle on the PATH.

You can use some package management tool for windows. E.g. Chocolatey

choco install zulu8 -y
  • Gradle - Constructor and manager dependencies
choco install gradle --version 5.6.4 -y

Clone this repository, and fire up a command-line tool.

To know a check dependencies between packages and classes, layers and slices, check for cyclic dependencies...

💻 Steps

To execute the next command line:

gradle build

:octocat: Can you support me?

I will continue to do things and expose notes, but existing many ways to support what I do:

  • Pull requests are welcome a 💫
  • Don't forget to give this Repository a 🌟
  • Buy me a ☕

About

To know a check dependencies between packages and classes, layers and slices, check for cyclic dependencies...

Topics

Resources

Stars

Watchers

Forks