Add all layers.

This commit is contained in:
Florian THIERRY
2023-11-28 10:58:22 +01:00
parent 01b1d54cef
commit 025197525c
12 changed files with 226 additions and 1 deletions

View File

@@ -21,6 +21,18 @@
<groupId>org.sportshub</groupId>
<artifactId>sportshub-exposition</artifactId>
</dependency>
<dependency>
<groupId>org.sportshub</groupId>
<artifactId>sportshub-application</artifactId>
</dependency>
<dependency>
<groupId>org.sportshub</groupId>
<artifactId>sportshub-domain</artifactId>
</dependency>
<dependency>
<groupId>org.sportshub</groupId>
<artifactId>sportshub-infrastructure</artifactId>
</dependency>
</dependencies>
<build>

View File

@@ -5,7 +5,12 @@ import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.context.annotation.ComponentScan;
@SpringBootApplication
@ComponentScan(basePackages = "org.sportshub.exposition")
@ComponentScan(basePackages = {
"org.sportshub.exposition",
"org.sportshub.application",
"org.sportshub.domain",
"org.sportshub.infrastructure"
})
public class ApplicationLauncher {
public static void main(String[] args) {
SpringApplication.run(ApplicationLauncher.class, args);