Files
spring-graphql/samples/webmvc-http/build.gradle
2021-09-16 11:15:47 +01:00

38 lines
1.3 KiB
Groovy

plugins {
id 'org.springframework.boot' version "${bootVersion}"
id 'java'
}
group = 'com.example'
version = '0.0.1-SNAPSHOT'
description = "GraphQL over HTTP with Spring MVC Sample"
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 project(':spring-graphql-test')
testImplementation 'org.springframework:spring-webflux'
testImplementation 'org.springframework.boot:spring-boot-starter-test'
implementation(
"com.querydsl:querydsl-core:4.4.0",
"com.querydsl:querydsl-jpa:4.4.0"
)
annotationProcessor "com.querydsl:querydsl-apt:4.4.0:jpa",
"org.hibernate.javax.persistence:hibernate-jpa-2.1-api:1.0.2.Final",
"javax.annotation:javax.annotation-api:1.3.2"
}
compileJava {
options.annotationProcessorPath = configurations.annotationProcessor
}
test {
useJUnitPlatform()
}