-
Notifications
You must be signed in to change notification settings - Fork 356
Reimplemented dependency tests using ArchUnit. #1107
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
Moved RelationalAuditingCallback and JdbcArrayColumns to remove dependency cycle. Closes #1058
<dependency> | ||
<groupId>com.tngtech.archunit</groupId> | ||
<artifactId>archunit</artifactId> | ||
<version>0.22.0</version> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Do you prefer keeping all the versions as property settings at the top?
void acrossModules() { | ||
|
||
JavaClasses importedClasses = new ClassFileImporter().withImportOption(ImportOption.Predefined.DO_NOT_INCLUDE_TESTS) | ||
.importPackages( // |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Make this consistent with the previous test.
return new DescribedPredicate<>("Spring Data Classes") { | ||
@Override | ||
public boolean apply(JavaClass input) { | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Do you need the blank line if there is only one line in the method?
void acrossModules() { | ||
|
||
JavaClasses importedClasses = new ClassFileImporter().withImportOption(ImportOption.Predefined.DO_NOT_INCLUDE_TESTS) | ||
.importPackages( // |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Consistent format.
return new DescribedPredicate<>("Spring Data Classes") { | ||
@Override | ||
public boolean apply(JavaClass input) { | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Consistent line breaks.
Thanks for the review. |
Moved RelationalAuditingCallback and JdbcArrayColumns to remove dependency cycle.
Closes #1058