-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathbuild.gradle
More file actions
49 lines (38 loc) · 1.19 KB
/
build.gradle
File metadata and controls
49 lines (38 loc) · 1.19 KB
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
apply plugin: 'java'
apply plugin: 'war'
apply plugin: 'org.akhikhl.gretty' // jetty 9 with servlet-api 3.0+
group = 'org.home.spring.rest'
version = '1.0.0'
targetCompatibility = 1.8
sourceCompatibility = 1.8
repositories {
jcenter()
mavenLocal()
mavenCentral()
}
dependencies {
compile "org.springframework:spring-core:$springframeworkVersion"
compile "org.springframework:spring-context:$springframeworkVersion"
compile "org.springframework:spring-webmvc:$springframeworkVersion"
compile 'com.fasterxml.jackson.core:jackson-databind:2.7.1'
compile 'javax.inject:javax.inject:1'
compile 'edu.washington.cs.types.checker:checker-framework:1.7.0'
compile 'javax.servlet:javax.servlet-api:3.1.0'
testCompile "org.springframework:spring-test:$springframeworkVersion"
testCompile 'junit:junit:4.12'
testCompile "com.jayway.jsonpath:json-path:$jsonpathVersion"
testCompile "com.jayway.jsonpath:json-path-assert:$jsonpathVersion"
}
buildscript {
repositories {
jcenter()
}
dependencies {
classpath 'org.akhikhl.gretty:gretty:1.2.4'
}
}
gretty {
port = 8080
contextPath = 'root'
servletContainer = 'jetty9'
}