File tree Expand file tree Collapse file tree 2 files changed +14
-14
lines changed
Expand file tree Collapse file tree 2 files changed +14
-14
lines changed Original file line number Diff line number Diff line change @@ -6,7 +6,6 @@ import org.gradle.kotlin.dsl.withType
66
77plugins {
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-
7763configure< org.checkerframework.gradle.plugin.CheckerFrameworkExtension > {
7864// skipCheckerFramework = true
7965// excludeTests = true
Original file line number Diff line number Diff line change @@ -4,6 +4,7 @@ import org.gradle.accessors.dm.LibrariesForLibs
44
55plugins {
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+ }
You can’t perform that action at this time.
0 commit comments