This repository has been archived by the owner on Mar 28, 2020. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 5
/
build.gradle
68 lines (52 loc) · 1.61 KB
/
build.gradle
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
buildscript {
ext {
springBootVersion = '1.5.4.RELEASE'
}
repositories {
mavenCentral()
}
dependencies {
classpath "org.springframework.boot:spring-boot-gradle-plugin:${springBootVersion}"
}
}
repositories {
mavenCentral()
}
apply plugin: 'java'
sourceCompatibility = 1.8
targetCompatibility = 1.8
apply plugin: 'org.springframework.boot'
apply from: 'dotenv.gradle'
bootRun() {
environment << dotenv
jvmArgs = ['-agentlib:jdwp=transport=dt_socket,server=y,suspend=n,address=5005']
}
dependencies {
ext {
graphQLSpringVersion = "3.5.0"
graphQLToolsVersion = "3.0.2"
feignVersion = '8.18.0'
lombokVersion = '1.16.16'
}
configurations {
compile.exclude module: 'spring-boot-starter-tomcat'
}
// Spring Boot starters
compile 'org.springframework.boot:spring-boot-starter-web'
compile 'org.springframework.boot:spring-boot-starter-undertow'
compile 'org.springframework.boot:spring-boot-devtools'
compile 'org.springframework.boot:spring-boot-starter-actuator'
// GraphQL
compile "com.graphql-java:graphql-spring-boot-starter:${graphQLSpringVersion}"
// GraphiQL
compile "com.graphql-java:graphiql-spring-boot-starter:${graphQLSpringVersion}"
// GraphQL Java Tools
compile "com.graphql-java:graphql-java-tools:${graphQLToolsVersion}"
// Lombok
compile "org.projectlombok:lombok:${lombokVersion}"
// Feign
compile "com.netflix.feign:feign-core:${feignVersion}"
compile "com.netflix.feign:feign-slf4j:${feignVersion}"
compile "com.netflix.feign:feign-jackson:${feignVersion}"
testCompile 'org.springframework.boot:spring-boot-starter-test'
}