Spring Boot starters
No application is complete without specifying dependencies. A valuable feature of Spring Boot is its virtual packages. These are published packages that don't contain any code, but simply list other dependencies instead.
The following code shows all the dependencies we selected on the Spring Initializr site:
dependencies { compile('org.springframework.boot:spring-boot-starter-data- mongodb-reactive') compile('org.springframework.boot:spring-boot-starter-thymeleaf') compile('org.springframework.boot:spring-boot-starter-webflux') compile('org.projectlombok:lombok') compile('de.flapdoodle.embed:de.flapdoodle.embed.mongo') testCompile('org.springframework.boot:spring-boot-starter-test') }
You might have noticed that most of these packages are Spring Boot starters:
spring-boot-starter-data-mongodb-reactive
pulls in Spring Data MongoDB with the reactive bits enabledspring-boot-starter-thymeleaf
pulls in the Thymeleaf...