-
Sponsor
Sponsor jhipster/jhipster-lite
- Notifications
- Fork 150
Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Loading status checks…
Java ArchUnit depends on Java Base
1 parent
6696ecb
commit f5b592a
Showing
1 changed file
with
2 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
class ArchUnitModuleConfiguration { | |||
@Bean | |||
JHipsterModuleResource archUnitModule(JavaArchUnitApplicationService archUnit) { | |||
return JHipsterModuleResource | |||
|
|||
.builder() | |||
.slug("java-archunit") | |||
.propertiesDefinition(JHipsterModulePropertiesDefinition.builder().addBasePackage().addIndentation().build()) | |||
.apiDoc(new JHipsterModuleApiDoc("Java", "Add Hexagonal Arch classes to project")) | |||
.organization(JHipsterModuleOrganization.builder().addFeatureDependency("java-build-tool").build()) | |||
.apiDoc(new JHipsterModuleApiDoc("Java", "Add Hexagonal Arch Unit Tests to project")) | |||
.organization(JHipsterModuleOrganization.builder().addFeatureDependency("java-build-tool").addModuleDependency("java-base").build()) | |||
.tags("server", "test") | |||
.factory(archUnit::buildModule); | |||
} | |||
} |