Skip to content

Commit 83acf63

Browse files
committed
better home for coverage
1 parent 1e3ffa7 commit 83acf63

File tree

2 files changed

+14
-14
lines changed

2 files changed

+14
-14
lines changed

buildSrc/src/main/kotlin/openapiparser.library.gradle.kts

Lines changed: 0 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,6 @@ import org.gradle.kotlin.dsl.withType
66

77
plugins {
88
`java-library`
9-
jacoco
109
kotlin
1110
id("org.checkerframework")
1211
id("com.github.ben-manes.versions")
@@ -61,19 +60,6 @@ dependencies {
6160
compileOnly(libs.checkerq)
6261
}
6362

64-
jacoco {
65-
toolVersion = libs.versions.jacoco.get()
66-
}
67-
68-
tasks.named<JacocoReport>("jacocoTestReport") {
69-
reports {
70-
xml.required.set(true)
71-
csv.required.set(false)
72-
html.required.set(false)
73-
//html.outputLocation.set(layout.buildDirectory.dir("jacocoHtml"))
74-
}
75-
}
76-
7763
configure<org.checkerframework.gradle.plugin.CheckerFrameworkExtension> {
7864
// skipCheckerFramework = true
7965
// excludeTests = true

buildSrc/src/main/kotlin/openapiparser.test.gradle.kts

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ import org.gradle.accessors.dm.LibrariesForLibs
44

55
plugins {
66
java
7+
jacoco
78
groovy
89
kotlin
910
}
@@ -26,3 +27,16 @@ dependencies {
2627
testImplementation(libs.mockk)
2728
testCompileOnly(libs.checkerq)
2829
}
30+
31+
jacoco {
32+
toolVersion = libs.versions.jacoco.get()
33+
}
34+
35+
tasks.named<JacocoReport>("jacocoTestReport") {
36+
reports {
37+
xml.required.set(true)
38+
csv.required.set(false)
39+
html.required.set(false)
40+
//html.outputLocation.set(layout.buildDirectory.dir("jacocoHtml"))
41+
}
42+
}

0 commit comments

Comments
 (0)