-
Notifications
You must be signed in to change notification settings - Fork 5
/
Copy pathbuild.gradle
59 lines (48 loc) · 1.6 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
apply plugin: 'java'
apply plugin: 'eclipse'
apply plugin: 'war'
apply plugin: 'tomcat'
apply plugin: 'info.solidsoft.pitest'
ext {
jettyVersion = '7.6.0.v20120127'
}
buildscript {
repositories {
jcenter()
}
dependencies {
classpath 'org.gradle.api.plugins:gradle-tomcat-plugin:1.2.4'
classpath 'info.solidsoft.gradle.pitest:gradle-pitest-plugin:1.4.0'
}
}
dependencies {
repositories {
mavenCentral()
mavenLocal()
}
providedCompile 'javax.servlet:servlet-api:2.5'
compile 'com.h2database:h2:1.4.190'
compile 'javax.mail:mail:1.4'
compile 'com.icegreen:greenmail:1.4.1'
compile 'com.google.code.gson:gson:2.5'
compile 'commons-codec:commons-codec:1.10'
compile 'com.google.guava:guava:19.0'
testCompile 'junit:junit:4.12'
testCompile 'org.mockito:mockito-core:2.28.2'
testCompile 'info.solidsoft.mockito:mockito-java8:2.5.0'
testCompile 'org.assertj:assertj-core:3.14.0'
testCompile 'pl.pragmatists:JUnitParams:1.0.4'
testCompile 'ch.qos.logback:logback-classic:1.2.3'
testCompile "org.eclipse.jetty:jetty-servlet:$jettyVersion"
testCompile "org.eclipse.jetty:jetty-webapp:$jettyVersion"
def tomcatVersion = '7.0.55'
tomcat "org.apache.tomcat.embed:tomcat-embed-core:${tomcatVersion}",
"org.apache.tomcat.embed:tomcat-embed-logging-juli:${tomcatVersion}"
tomcat("org.apache.tomcat.embed:tomcat-embed-jasper:${tomcatVersion}") {
exclude group: 'org.eclipse.jdt.core.compiler', module: 'ecj'
}
}
sourceCompatibility = 1.8
pitest {
timestampedReports = false
}