-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.gradle
42 lines (34 loc) · 1.03 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
plugins {
id 'com.github.kt3k.coveralls' version '2.6.3'
}
apply plugin: 'java'
apply plugin: 'jacoco'
apply plugin: 'com.github.kt3k.coveralls'
// In this section you declare where to find the dependencies of your project
repositories {
jcenter()
mavenCentral()
}
dependencies {
// Use JUnit test framework
testImplementation 'junit:junit:4.12'
compile group: 'com.googlecode.json-simple', name: 'json-simple', version: '1.1'
compile group: 'org.antlr', name: 'antlr4-runtime', version: '4.7'
compile group: 'org.antlr', name: 'antlr4', version: '4.7'
}
test.testLogging {
exceptionFormat = "full";
events "failed", "passed", "skipped", "standardOut", "standardError"
}
jacocoTestReport {
reports {
xml.enabled = true
csv.enabled = false
html.enabled = true
// html.destination "${buildDir}/reports/coverage"
// xml.destination "${buildDir}/reports/coverage"
}
}
coveralls {
jacocoReportPath 'build/reports/jacoco/jacocoTestReport/jacocoTestReport.xml'
}