forked from hyperledger-iroha/iroha-java
-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.gradle
47 lines (38 loc) · 890 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
35
36
37
38
39
40
41
42
43
44
45
46
47
plugins {
id 'com.adarshr.test-logger' version '1.6.0'
}
allprojects {
group 'hyperledger'
version = "1.0"
}
subprojects {
apply plugin: 'java'
apply plugin: 'groovy'
apply plugin: 'idea'
apply plugin: 'jacoco'
apply plugin: 'maven'
sourceCompatibility = 1.8 // java 8
targetCompatibility = 1.8
jacoco {
toolVersion = "0.8.2"
}
jacocoTestReport {
executionData fileTree(project.rootDir.absolutePath).include("**/build/jacoco/*.exec")
reports {
xml.enabled true
csv.enabled false
html.enabled false
}
dependsOn(test)
}
test {
testLogging {
events "passed", "skipped", "failed"
exceptionFormat "full"
}
finalizedBy jacocoTestReport
}
}
task wrapper(type: Wrapper) {
gradleVersion = '4.10'
}