We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c1673c9 commit 4cd8237Copy full SHA for 4cd8237
build.gradle
@@ -4,6 +4,7 @@ plugins {
4
id 'eclipse'
5
id 'idea'
6
id 'maven-publish'
7
+ id 'jacoco'
8
alias libs.plugins.modDevGradle
9
//alias libs.plugins.shadow
10
alias libs.plugins.spotless
@@ -98,3 +99,17 @@ tasks.withType(JavaCompile).configureEach {
98
99
lombok {
100
version = "1.18.38"
101
}
102
+
103
+jacoco {
104
+ applyTo runGameTestServer
105
+}
106
107
+tasks.register('testCoverageReport', JacocoReport) {
108
+ executionData runGameTestServer
109
+ sourceSets sourceSets.main
110
+ reports {
111
+ xml.required = false
112
+ csv.required = false
113
+ html.outputLocation = layout.buildDirectory.dir('coverage')
114
+ }
115
0 commit comments