Skip to content

Commit 2123748

Browse files
fix jacoco incompatible problem
1 parent 9d168e8 commit 2123748

File tree

8 files changed

+1
-71
lines changed

8 files changed

+1
-71
lines changed

actuator/build.gradle

Lines changed: 0 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -30,16 +30,3 @@ test {
3030
maxParallelForks = Runtime.runtime.availableProcessors().intdiv(2) ?: 1
3131
}
3232
}
33-
34-
jacocoTestReport {
35-
reports {
36-
xml.enabled = true
37-
html.enabled = true
38-
}
39-
getExecutionData().setFrom(fileTree('../framework/build/jacoco').include("**.exec"))
40-
afterEvaluate {
41-
classDirectories.from = classDirectories.files.collect {
42-
fileTree(dir: it,)
43-
}
44-
}
45-
}

build.gradle

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@ allprojects {
44
}
55

66
subprojects {
7-
apply plugin: "jacoco"
87
apply plugin: "maven-publish"
98

109
sourceCompatibility = JavaVersion.VERSION_1_8

chainbase/build.gradle

Lines changed: 0 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -41,21 +41,3 @@ test {
4141
}
4242
}
4343

44-
jacoco {
45-
toolVersion = jacocoVersion // See http://www.eclemma.org/jacoco/.
46-
}
47-
48-
jacocoTestReport {
49-
reports {
50-
xml.enabled = true
51-
html.enabled = true
52-
}
53-
getExecutionData().setFrom(fileTree('../framework/build/jacoco').include("**.exec"))
54-
afterEvaluate {
55-
classDirectories.from = classDirectories.files.collect {
56-
fileTree(dir: it,)
57-
}
58-
}
59-
}
60-
61-
build.dependsOn jacocoTestReport

common/build.gradle

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -64,15 +64,3 @@ dependencies {
6464
api project(":protocol")
6565
}
6666

67-
jacocoTestReport {
68-
reports {
69-
xml.enabled = true
70-
html.enabled = true
71-
}
72-
getExecutionData().setFrom(fileTree('../framework/build/jacoco').include("**.exec"))
73-
afterEvaluate {
74-
classDirectories.from = classDirectories.files.collect {
75-
fileTree(dir: it,)
76-
}
77-
}
78-
}

consensus/build.gradle

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -30,15 +30,3 @@ test {
3030
}
3131
}
3232

33-
jacocoTestReport {
34-
reports {
35-
xml.enabled = true
36-
html.enabled = true
37-
}
38-
getExecutionData().setFrom(fileTree('../framework/build/jacoco').include("**.exec"))
39-
afterEvaluate {
40-
classDirectories.from = classDirectories.files.collect {
41-
fileTree(dir: it,)
42-
}
43-
}
44-
}

crypto/build.gradle

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -14,15 +14,3 @@ dependencies {
1414
api project(":common")
1515
}
1616

17-
jacocoTestReport {
18-
reports {
19-
xml.enabled = true
20-
html.enabled = true
21-
}
22-
getExecutionData().setFrom(fileTree('../framework/build/jacoco').include("**.exec"))
23-
afterEvaluate {
24-
classDirectories.from = classDirectories.files.collect {
25-
fileTree(dir: it,)
26-
}
27-
}
28-
}

framework/build.gradle

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -17,9 +17,6 @@ def versions = [
1717
checkstyle: '8.7',
1818
]
1919

20-
jacoco {
21-
toolVersion = "0.8.8"
22-
}
2320

2421

2522
configurations {

plugins/build.gradle

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ plugins {
44

55
apply plugin: 'application'
66
apply plugin: 'checkstyle'
7+
apply plugin: "jacoco"
78

89
jacoco {
910
toolVersion = "0.8.4"

0 commit comments

Comments
 (0)