31 lines
1.0 KiB
Groovy
31 lines
1.0 KiB
Groovy
plugins {
|
|
id 'org.springframework.boot' version "${bootVersion}"
|
|
id 'io.spring.dependency-management' version '1.0.13.RELEASE'
|
|
id 'java'
|
|
}
|
|
group = 'com.example'
|
|
description = "Secure GraphQL over HTTP with Spring MVC Sample"
|
|
sourceCompatibility = '1.8'
|
|
|
|
ext['spring-graphql.version'] = version
|
|
|
|
repositories {
|
|
mavenCentral()
|
|
maven { url 'https://repo.spring.io/milestone' }
|
|
maven { url 'https://repo.spring.io/snapshot' }
|
|
}
|
|
|
|
dependencies {
|
|
implementation 'org.springframework.boot:spring-boot-starter-graphql'
|
|
implementation 'org.springframework.boot:spring-boot-starter-web'
|
|
implementation 'org.springframework.boot:spring-boot-starter-security'
|
|
implementation 'org.springframework.boot:spring-boot-starter-actuator'
|
|
developmentOnly 'org.springframework.boot:spring-boot-devtools'
|
|
testImplementation project(':spring-graphql')
|
|
testImplementation project(':spring-graphql-test')
|
|
testImplementation 'org.springframework:spring-webflux'
|
|
testImplementation 'org.springframework.boot:spring-boot-starter-test'
|
|
}
|
|
test {
|
|
useJUnitPlatform()
|
|
} |