-
Notifications
You must be signed in to change notification settings - Fork 6
Expand file tree
/
Copy pathbuild.gradle
More file actions
63 lines (53 loc) · 1.54 KB
/
build.gradle
File metadata and controls
63 lines (53 loc) · 1.54 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
50
51
52
53
54
55
56
57
58
59
60
61
62
63
plugins {
id 'jacoco'
id 'com.github.kt3k.coveralls' version '2.6.3'
}
apply plugin: 'java'
apply plugin: 'eclipse'
apply plugin: 'idea'
apply plugin: 'findbugs'
apply plugin: 'pmd'
pmd {
ignoreFailures = false
sourceSets = [sourceSets.main]
ruleSetFiles = files("config/pmd/ruleset.xml")
}
jar {
baseName = 'pet-me'
version = '0.1.0'
}
repositories {
mavenCentral()
maven { url "http://repo.spring.io/libs-release" }
}
dependencies {
compile("org.springframework.data:spring-data-mongodb:1.10.0.RELEASE")
compile("org.springframework.boot:spring-boot-starter-web:1.5.1.RELEASE")
compile("org.springframework.hateoas:spring-hateoas:0.23.0.RELEASE")
compile("com.google.guava:guava:21.0")
compile("org.projectlombok:lombok:1.16.14")
testCompile("junit:junit:4.12")
testCompile("org.mockito:mockito-all:1.10.19")
testCompile("org.springframework.boot:spring-boot-starter-test:1.5.1.RELEASE")
}
task wrapper(type: Wrapper) {
gradleVersion = '2.2'
}
jacocoTestReport {
reports {
xml.enabled true
xml.destination "${buildDir}/reports/jacoco/test/jacocoTestReport.xml"
html.destination "${buildDir}/jacocoHtml"
}
}
jacoco {
toolVersion = "0.7.6.201602180812"
reportsDir = file("$buildDir/customJacocoReportDir")
}
test {
jacoco {
append = false
destinationFile = file("$buildDir/jacoco/jacocoTest.exec")
classDumpFile = file("$buildDir/jacoco/classpathdumps")
}
}