Skip to content

Instantly share code, notes, and snippets.

@BenjaminKlatt
Created October 12, 2020 15:55
Show Gist options
  • Save BenjaminKlatt/6cfe9b58a08d0093bb0e72ddb27b3add to your computer and use it in GitHub Desktop.
Save BenjaminKlatt/6cfe9b58a08d0093bb0e72ddb27b3add to your computer and use it in GitHub Desktop.
ArchUnit Externe Abhängigkeiten
@ArchTest
private static ArchRule no_java_util_date =
noClasses()
.should().dependOnClassesThat()
.haveFullyQualifiedName(java.util.Date.class.getName())
.because("LocalDate statt java.util.Date verwenden");
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment