File tree 1 file changed +5
-12
lines changed
1 file changed +5
-12
lines changed 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.
118
+
126
119
Migration to 7.x
127
120
----------------
128
121
You can’t perform that action at this time.
0 commit comments