We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Hello. here are my configurations.
plugins { id 'java' id 'info.solidsoft.pitest' version '1.7.0' } pitest { junit5PluginVersion = '0.15' targetClasses = ['com.example.*'] targetTests = ['com.example.*'] exportLineCoverage = true timestampedReports = true outputFormats = ["HTML"] } java { toolchain { languageVersion = JavaLanguageVersion.of(11) } }
When I change JavaLanguageVersion.of(11) to JavaLanguageVersion.of(8) it is working and showing the right Coverage Report.
JavaLanguageVersion.of(11)
JavaLanguageVersion.of(8)
But with JavaLanguageVersion.of(11) everything is always not covered and always 0%.
The text was updated successfully, but these errors were encountered:
It's a known limitation in the Gradle plugin - szpak/gradle-pitest-plugin#301 - no support for Java toolchain.
Sorry, something went wrong.
Btw, just to be sure, remove/comment the toolchain section and run the pitest task with Java 11 set with JAVA_HOME.
pitest
JAVA_HOME
No branches or pull requests
Hello. here are my configurations.
When I change
JavaLanguageVersion.of(11)
toJavaLanguageVersion.of(8)
it is working and showing the right Coverage Report.But with
JavaLanguageVersion.of(11)
everything is always not covered and always 0%.The text was updated successfully, but these errors were encountered: