Skip to content

Commit 2f069d8

Browse files
[jacoco] fix config
1 parent ae76309 commit 2f069d8

5 files changed

Lines changed: 22 additions & 16 deletions

File tree

build.gradle.kts

Lines changed: 0 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -38,19 +38,3 @@ testing {
3838
}
3939
}
4040
}
41-
42-
tasks {
43-
test {
44-
finalizedBy(jacocoTestReport)
45-
}
46-
47-
jacocoTestReport {
48-
dependsOn(test)
49-
50-
reports {
51-
xml.required.set(true)
52-
html.required.set(false)
53-
}
54-
}
55-
}
56-
Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
plugins {
2+
java
3+
jacoco
4+
}
5+
6+
tasks {
7+
test {
8+
finalizedBy(jacocoTestReport)
9+
}
10+
11+
jacocoTestReport {
12+
dependsOn(test)
13+
14+
reports {
15+
xml.required.set(true)
16+
html.required.set(false)
17+
}
18+
}
19+
}

consul-populate-cli/build.gradle.kts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
plugins {
22
id("io.micronaut.minimal.application") version "4.6.1"
33
id("com.frogdevelopment.jreleaser.publish-convention")
4+
id("com.frogdevelopment.jacoco")
45
alias(libs.plugins.jib)
56
alias(libs.plugins.shadow)
67
}

consul-populate-core/build.gradle.kts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
plugins {
22
id("io.micronaut.minimal.library") version "4.6.1"
33
id("com.frogdevelopment.jreleaser.publish-convention")
4+
id("com.frogdevelopment.jacoco")
45
}
56

67
micronaut {

consul-populate-git/build.gradle.kts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
plugins {
22
id("io.micronaut.minimal.library") version "4.6.1"
33
id("com.frogdevelopment.jreleaser.publish-convention")
4+
id("com.frogdevelopment.jacoco")
45
}
56

67
micronaut {

0 commit comments

Comments
 (0)