This commit refactors the project structure to regroup GraphQL web support under the spring-graphql-web module, and move all the Spring Boot support classes under a single graphql-spring-boot-starter one. Right now, the starter module contains everything: classes for MVC, WebFlux and Actuator support as well as required dependencies. We will change that in the future.
18 lines
579 B
Groovy
18 lines
579 B
Groovy
pluginManagement {
|
|
repositories {
|
|
maven { url 'https://repo.spring.io/milestone' }
|
|
maven { url 'https://repo.spring.io/snapshot' }
|
|
gradlePluginPortal()
|
|
}
|
|
resolutionStrategy {
|
|
eachPlugin {
|
|
if (requested.id.id == 'org.springframework.boot') {
|
|
useModule("org.springframework.boot:spring-boot-gradle-plugin:${requested.version}")
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
rootProject.name = 'spring-graphql'
|
|
include 'spring-graphql-web', 'graphql-spring-boot-starter', 'samples:webmvc-http', 'samples:webflux-websocket'
|