-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuild.gradle
34 lines (26 loc) · 908 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
apply plugin: 'java'
apply plugin: 'war'
apply from: 'https://raw.github.com/akhikhl/gretty/master/pluginScripts/gretty.plugin'
repositories {
mavenCentral()
jcenter()
}
tasks.withType(JavaCompile) {
options.encoding = 'UTF-8'
}
gretty {
contextPath = ''
}
sourceCompatibility = 1.8
version = '1.0-SNAPSHOT'
dependencies {
providedCompile 'javax.ws.rs:javax.ws.rs-api:2.0.1'
compile 'javax:javaee-api:8.0.1'
compile 'org.glassfish.jersey.core:jersey-server:2.22.2'
compile 'org.glassfish.jersey.containers:jersey-container-servlet:2.22.2'
compileOnly 'org.projectlombok:lombok:1.18.10'
annotationProcessor 'org.projectlombok:lombok:1.18.10'
testCompile group: 'junit', name: 'junit', version: '4.12'
testCompile group: 'org.hamcrest', name: 'hamcrest-all', version: '1.3'
testCompile group: 'org.mockito', name: 'mockito-all', version: '1.10.19'
}