Skip to content

Commit ecac8f3

Browse files
Adding jacoco file in settings folder (#9)
1 parent cae3b34 commit ecac8f3

File tree

4 files changed

+11
-0
lines changed

4 files changed

+11
-0
lines changed

common/modules/assets-handler/build.gradle

+2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
plugins {
22
id 'java-library'
33
}
4+
apply from: '../../../settings/jacoco.gradle'
45

56
dependencies {
67
api project(':common:modules:auth')
@@ -15,4 +16,5 @@ dependencies {
1516

1617
test {
1718
useJUnitPlatform()
19+
finalizedBy jacocoTestReport
1820
}

common/modules/heartbeat-handler/build.gradle

+2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
plugins {
22
id 'java-library'
33
}
4+
apply from: '../../../settings/jacoco.gradle'
45

56
dependencies {
67
api project(':common:modules:auth')
@@ -16,4 +17,5 @@ dependencies {
1617

1718
test {
1819
useJUnitPlatform()
20+
finalizedBy jacocoTestReport
1921
}

common/modules/metrics-handler/build.gradle

+2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
plugins {
22
id 'java-library'
33
}
4+
apply from: '../../../settings/jacoco.gradle'
45

56
dependencies {
67
api project(':common:modules:auth')
@@ -18,4 +19,5 @@ dependencies {
1819

1920
test {
2021
useJUnitPlatform()
22+
finalizedBy jacocoTestReport
2123
}

settings/jacoco.gradle

+5
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
apply plugin: 'jacoco'
2+
3+
jacocoTestReport {
4+
5+
}

0 commit comments

Comments
 (0)