File tree Expand file tree Collapse file tree
build-logic/src/main/groovy Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11plugins {
2- id ' base'
32 id ' jacoco'
43}
54
65extensions. configure(JacocoPluginExtension ) {
7- it. toolVersion = ' 0.8.12 '
6+ it. toolVersion = jacocoVersion
87}
98
109// Configuration for declaring which projects contribute coverage data.
@@ -79,6 +78,9 @@ afterEvaluate {
7978 }
8079}
8180
82- tasks. named(' check' ) {
83- dependsOn(' jacocoAggregatedReport' )
81+ pluginManager. withPlugin(' base' ) {
82+ tasks. named(' check' ) {
83+ dependsOn(' jacocoAggregatedReport' )
84+ }
8485}
86+
Original file line number Diff line number Diff line change 11plugins {
2- id ' config.coverage-aggregation '
2+ id ' config.code-coverage '
33}
44
55dependencies {
66 // The plugin project (always included)
77 coverageDataProjects project(' :grails-server-timing' )
88
99 // Auto-discover all example apps under examples/
10- rootDir. toPath(). resolve(' examples' ). toFile(). list()?. each { example ->
11- coverageDataProjects project(" :$e xample " )
10+ rootDir. toPath(). resolve(' examples' ). toFile(). list()?. each { exampleApp ->
11+ coverageDataProjects project(" :$e xampleApp " )
1212 }
1313}
Original file line number Diff line number Diff line change 11projectVersion =0.0.1-SNAPSHOT
22grailsVersion =7.0.7
3+
4+ # Build dependencies
5+ asciidoctorVersion =4.0.5
36checkstyleVersion =10.21.4
47codenarcVersion =3.6.0
8+ jacocoVersion =0.8.12
59testLoggerVersion =4.0.0
6- asciidoctorVersion =4.0.5
710
811org.gradle.caching =true
912org.gradle.daemon =true
You can’t perform that action at this time.
0 commit comments