You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+5-12Lines changed: 5 additions & 12 deletions
Original file line number
Diff line number
Diff line change
@@ -105,24 +105,17 @@ scoverage {
105
105
}
106
106
```
107
107
108
-
### Run without normal compilation
109
-
110
-
By default, running any of the plugin tasks will compile the code both using "normal" compilation (`compileScala`)
111
-
and using the scoverage scalac plugin (`compileScoverageScala`).
112
-
113
-
In cases where you only wish to generate reports / validate coverage, but are not interested in publishing the code,
114
-
it is possible to only compile the code with the scoverage scalac plugin, thus reducing build times significantly.
115
-
In order to do so, simply add the arguments `-PscoverageCompileOnly` to the gradle execution.
116
-
For example: `gradle reportScoverage -PscoverageCompileOnly`.
117
-
118
-
Note that this mode is incompatible with parallel builds in multi-module projects.
119
-
120
108
### Compatibility with Consistent Versions Plugin
121
109
122
110
In order for the plugin to work alongside [Palantir's consistent versions plugin](https://github.com/palantir/gradle-consistent-versions),
123
111
the Scala version must be manually configured (via `scoverageScalaVersion`); otherwise, the plugin will attempt to
124
112
resolve the compilation classpath, which is prohibited by the versions plugin.
125
113
114
+
Migration to 8.x
115
+
----------------
116
+
117
+
* Running without normal compilation is no longer supported.
0 commit comments