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.
23 lines
807 B
Groovy
23 lines
807 B
Groovy
plugins {
|
|
id 'org.springframework.boot' version '2.4.1'
|
|
id 'io.spring.dependency-management' version '1.0.10.RELEASE'
|
|
id 'java'
|
|
}
|
|
group = 'com.example'
|
|
version = '0.0.1-SNAPSHOT'
|
|
description = "GraphQL sample application"
|
|
sourceCompatibility = '1.8'
|
|
|
|
dependencies {
|
|
implementation project(':graphql-spring-boot-starter')
|
|
implementation 'org.springframework.boot:spring-boot-starter-web'
|
|
implementation 'org.springframework.boot:spring-boot-starter-hateoas'
|
|
implementation 'org.springframework.boot:spring-boot-starter-data-jpa'
|
|
implementation 'org.springframework.boot:spring-boot-starter-actuator'
|
|
developmentOnly 'org.springframework.boot:spring-boot-devtools'
|
|
runtimeOnly 'com.h2database:h2'
|
|
testImplementation 'org.springframework.boot:spring-boot-starter-test'
|
|
}
|
|
test {
|
|
useJUnitPlatform()
|
|
} |