-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathbuild.gradle
38 lines (30 loc) · 871 Bytes
/
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
buildscript {
repositories {
jcenter()
}
dependencies {
classpath 'org.akhikhl.gretty:gretty:+'
}
}
apply plugin: 'java'
apply plugin: 'war'
apply plugin: 'org.akhikhl.gretty'
gretty {
httpPort = 8080
contextPath = '/'
servletContainer = 'jetty9'
}
group = 'com.howtographql.sample'
version = '1.0-SNAPSHOT'
description = "graphql-java Webapp"
sourceCompatibility = 1.8
targetCompatibility = 1.8
repositories {
maven { url "http://repo.maven.apache.org/maven2" }
}
dependencies {
compile group: 'com.graphql-java', name: 'graphql-java', version:'3.0.0'
compile group: 'com.graphql-java', name: 'graphql-java-tools', version:'3.2.0'
compile group: 'com.graphql-java', name: 'graphql-java-servlet', version:'4.0.0'
providedCompile group: 'javax.servlet', name: 'javax.servlet-api', version:'3.0.1'
}