Closed
Description
- scala version = 2.11.8
- gradlew version = 5.1
- The version of the gradle-scoverage plugin I use is 3.2.0.
- My project is a multi-module project organized by gradle.
I configured the coverage code block as follows in the README document, but the project will report an error.
scoverage {
minimumRate = 0.8
coverageType = "Line"
}
ERROR: Cannot set the value of a property of type org.scoverage.CoverageType using an instance of type java.lang.String.
I also tried to write like this coverageType = CoverageType.Line
, but still not work.
I found relevant information on the Internet, basically it is no problem to write like the above. So I am confused, where is my problem? Can anyone please help me?
Metadata
Metadata
Assignees
Labels
No labels